diff options
-rw-r--r-- | Vagrantfile | 1 | ||||
-rw-r--r-- | vagrant_support/apache.yml | 8 | ||||
-rw-r--r-- | vagrant_support/checksetup.yml | 6 | ||||
-rw-r--r-- | vagrant_support/playbook.yml | 6 |
4 files changed, 14 insertions, 7 deletions
diff --git a/Vagrantfile b/Vagrantfile index 2a1c4e9c4..f63c707a0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -22,6 +22,7 @@ RSYNC_ARGS = [ '--copy-links', '--exclude=local/', '--exclude=data/', + '--exclude=logs/', '--exclude=template_cache/', '--exclude=localconfig', '--include=.git/' diff --git a/vagrant_support/apache.yml b/vagrant_support/apache.yml index c7159371c..5031187e3 100644 --- a/vagrant_support/apache.yml +++ b/vagrant_support/apache.yml @@ -10,5 +10,11 @@ service: name=httpd enabled=yes when: LAZY == 0 +- name: ensure bugzilla.log has right permissions + file: path=/vagrant/logs/bugzilla.log state=touch owner=vagrant group=apache mode=0660 + +- name: ensure bugzilla-json.log has right permissions + file: path=/vagrant/logs/bugzilla-json.log state=touch owner=vagrant group=apache mode=0660 + - name: restart httpd - service: name=httpd state=restarted + service: name=httpd state=restarted
\ No newline at end of file diff --git a/vagrant_support/checksetup.yml b/vagrant_support/checksetup.yml index 580cc9dd9..455986148 100644 --- a/vagrant_support/checksetup.yml +++ b/vagrant_support/checksetup.yml @@ -22,6 +22,12 @@ mode: 0644 when: LAZY == 0 +- name: fix owner of /vagrant/template_cache + file: path=/vagrant/template_cache state=directory owner=vagrant group=apache recurse=yes + +- name: fix owner of /data + file: path=/data state=directory owner=vagrant group=apache recurse=yes + - name: run checksetup become: false shell: sg apache -c '/usr/local/bin/bmo-checksetup --no-templates' diff --git a/vagrant_support/playbook.yml b/vagrant_support/playbook.yml index b394f5592..5041cefcb 100644 --- a/vagrant_support/playbook.yml +++ b/vagrant_support/playbook.yml @@ -216,9 +216,3 @@ LAZY: 0 - import_tasks: devtools.yml - - name: fix owner of /vagrant/template_cache - file: path=/vagrant/template_cache state=directory owner=vagrant group=apache recurse=yes - - - name: fix owner of /data - file: path=/data state=directory owner=vagrant group=apache recurse=yes - |