summaryrefslogtreecommitdiffstats
path: root/vagrant_support/jobqueue.yml
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-04-14 19:05:03 +0200
committerDylan William Hardison <dylan@hardison.net>2017-04-14 19:10:20 +0200
commit4a130afba58836ebb2f70a31c88588ea46017009 (patch)
tree200816c2c7525e76228559e6b0ee81dc46980c14 /vagrant_support/jobqueue.yml
parent480bbf368b485a6a0317b9356ce90b75201b3efa (diff)
downloadbugzilla-4a130afba58836ebb2f70a31c88588ea46017009.tar.gz
bugzilla-4a130afba58836ebb2f70a31c88588ea46017009.tar.xz
Bug 1328874 - Add Vagrantfile for production-like development VMs
Diffstat (limited to 'vagrant_support/jobqueue.yml')
-rw-r--r--vagrant_support/jobqueue.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/vagrant_support/jobqueue.yml b/vagrant_support/jobqueue.yml
new file mode 100644
index 000000000..aeec65cbc
--- /dev/null
+++ b/vagrant_support/jobqueue.yml
@@ -0,0 +1,21 @@
+- name: install job queue
+ command: /vagrant/jobqueue.pl install chdir=/vagrant creates=/etc/init.d/bugzilla-queue
+
+- name: configure jobqueue
+ copy:
+ dest: /etc/sysconfig/bugzilla-queue
+ mode: 0644
+ content: |
+ BUGZILLA=/vagrant
+ USER=vagrant
+
+- name: fix jobqueue perms
+ file:
+ path: /vagrant/jobqueue.pl
+ mode: 0750
+
+- name: enable jobqueue
+ service: name=bugzilla-queue enabled=yes
+
+- name: restart jobqueue
+ service: name=bugzilla-queue state=restarted