added sendmail for debian and postgresql-client for openbsd

This commit is contained in:
Nicolas Roman 2019-02-13 17:34:58 +01:00
parent 488a1e8ad7
commit 6d666a86a3
1 changed files with 3 additions and 2 deletions

5
Vagrantfile vendored
View File

@ -12,7 +12,7 @@ Vagrant.configure('2') do |config|
config.ssh.shell = "/bin/sh"
$deps = <<SCRIPT
DEBIAN_FRONTEND=noninteractive apt-get -yq install postgresql-client sudo
DEBIAN_FRONTEND=noninteractive apt-get -yq install postgresql-client sudo sendmail
SCRIPT
$install = <<SCRIPT
@ -51,7 +51,8 @@ SCRIPT
node.vm.hostname = "evomaintenance-#{i[:name]}"
node.vm.box = "#{i[:box]}"
node.vm.provision "deps", type: "shell", :inline => $deps if "#{i[:name]}" == "debian"
config.vm.provision "deps", type: "shell", :inline => $deps if "#{i[:name]}" == "debian"
config.vm.provision "deps", type: "shell", :inline => "pkg_add postgresql-client-10.5p1" if "#{i[:name]}" == "openbsd"
config.vm.provision "install", type: "shell", :inline => $install, :args => ["#{i[:group]}"]
config.vm.provision "trap", type: "shell", :inline => $trap
end