Skip to content

Commit

Permalink
Merge pull request #73 from pascaldevink/feature/22_fix_vagrant_issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rdohms committed Oct 7, 2014
2 parents e1f56c3 + 8d6545a commit 8fac2b4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
vars:
root_folder: /var/www/amsphp
document_root: "{{ root_folder }}/web/"
write_to_folder: /dev/shm
write_to_folder: /var/shm
dbname: amsphp
dbuser: root
dbpasswd: root
Expand Down
1 change: 1 addition & 0 deletions ansible/tasks/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
- php5-intl
- php5-memcached
- php5-xdebug
- libapache2-mod-php5

# Configurations

Expand Down
6 changes: 6 additions & 0 deletions ansible/tasks/host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
command: a2ensite amsphp-vhost.conf
notify: restart apache

- name: Apache | Disable Default Host Config
command: a2dissite default
ignore_errors: true
notify: restart apache

- name: Apache | Disable Default Host Config
command: a2dissite 000-default.conf
ignore_errors: true
notify: restart apache

- name: Apache | Ensure application files are present
Expand Down
2 changes: 1 addition & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function getContainerBaseClass()
public function getLogDir()
{
if (in_array($this->environment, array('dev', 'test'))) {
return '/dev/shm/amsphp/logs';
return '/var/shm/amsphp/logs';
}

return parent::getLogDir();
Expand Down

0 comments on commit 8fac2b4

Please sign in to comment.