whitespaces
This commit is contained in:
parent
b13c627230
commit
13885a4743
|
@ -10,7 +10,7 @@ load File.expand_path(vagrantfile) if File.exists?(vagrantfile)
|
||||||
Vagrant.configure('2') do |config|
|
Vagrant.configure('2') do |config|
|
||||||
config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git' ]
|
config.vm.synced_folder "./", "/vagrant", type: "rsync", rsync__exclude: [ '.vagrant', '.git' ]
|
||||||
config.ssh.shell = "/bin/sh"
|
config.ssh.shell = "/bin/sh"
|
||||||
|
|
||||||
$deps = <<SCRIPT
|
$deps = <<SCRIPT
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -yq install postgresql-client sudo sendmail
|
DEBIAN_FRONTEND=noninteractive apt-get -yq install postgresql-client sudo sendmail
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
@ -49,7 +49,7 @@ SCRIPT
|
||||||
config.vm.define "#{i[:name]}" do |node|
|
config.vm.define "#{i[:name]}" do |node|
|
||||||
node.vm.hostname = "evomaintenance-#{i[:name]}"
|
node.vm.hostname = "evomaintenance-#{i[:name]}"
|
||||||
node.vm.box = "#{i[:box]}"
|
node.vm.box = "#{i[:box]}"
|
||||||
|
|
||||||
config.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 "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 "install", type: "shell", :inline => $install, :args => ["#{i[:group]}"]
|
||||||
|
|
|
@ -12,15 +12,15 @@ build: build-stamp
|
||||||
build-stamp:
|
build-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
touch $@
|
touch $@
|
||||||
clean:
|
clean:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp
|
rm -f build-stamp
|
||||||
dh_clean
|
dh_clean
|
||||||
install: build
|
install: build
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
install -m 700 -d $(CURDIR)/debian/evomaintenance/usr/share/scripts
|
install -m 700 -d $(CURDIR)/debian/evomaintenance/usr/share/scripts
|
||||||
install -m 700 evomaintenance.sh $(CURDIR)/debian/evomaintenance/usr/share/scripts/
|
install -m 700 evomaintenance.sh $(CURDIR)/debian/evomaintenance/usr/share/scripts/
|
||||||
|
|
Loading…
Reference in New Issue