divingbell/Vagrantfile
skovaleff 7ed8c29f99 Add ability to control pam_limits via new module 'limits'
1) 'Values' configures limit settings to be persisted.
2) Previous DivingBell controlled limits those were set
but now are gone are cleared.
3) Previous values of newly set limits are backed up
to /var/divingbell/limits
4) New limit is applied via adding a separate conf file
to /etc/security/limits.d
5) The Doc is updated with appropriate details.
6) Dev env with Vagrant
7) Increase number of expected DaemonSets in 020-test
8) Demo: https://asciinema.org/a/209619

Change-Id: I5efb39c498c2b666b4ba97271b59757f4a0c1ca7
2018-11-01 09:09:48 -07:00

30 lines
987 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "generic/ubuntu1604"
[:virtualbox, :parallels, :libvirt, :hyperv].each do |provider|
config.vm.provider provider do |vplh, override|
vplh.cpus = 4
vplh.memory = 4096
end
end
config.vm.synced_folder "./", "/root/deploy/airship-divingbell"
config.vm.define "dbtest" do |node|
node.vm.hostname = "dbtest"
node.vm.provision :shell, inline: <<-SHELL
#mkdir /root/deploy
#git clone git://git.openstack.org/openstack/airship-divingbell /root/deploy/airship-divingbell
git clone https://git.openstack.org/openstack/openstack-helm-infra /root/deploy/openstack-helm-infra
cd /root/deploy/openstack-helm-infra
./tools/gate/devel/start.sh full
cd /root/deploy/airship-divingbell/
./tools/gate/scripts/010-build-charts.sh
./tools/gate/scripts/020-test-divingbell.sh
SHELL
end
end