Skip to content

Commit

Permalink
Merge branch 'release/1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
publysher committed Aug 4, 2013
2 parents effb7ca + 205c1cb commit 4ac8dc8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/salt-bootstrap"]
path = lib/salt-bootstrap
url = git@github.com:saltstack/salt-bootstrap.git
22 changes: 10 additions & 12 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,22 @@ Vagrant.configure("2") do |config|
override.hostmanager.ignore_private_ip = true
end

# General provisioning #1: install salt minion
config.vm.provision :shell,
:inline => 'wget -q -O - http://bootstrap.saltstack.org | sudo sh'

# General provisioning #2: update host file
# General provisioning #1: update host file
config.vm.provision :hostmanager

# General provisioning #2: run Salt
config.vm.provision :salt do |salt|
salt.minion_config = 'salt/standalone-minion'
salt.bootstrap_script = 'lib/salt-bootstrap/bootstrap-salt.sh'
salt.run_highstate = true
salt.verbose = true
end

# NGINX01 is a web server minion
config.vm.define :nginx01 do |node|
node.vm.hostname = 'nginx01'
node.vm.hostname = 'nginx01.intranet'
node.vm.network :private_network, ip: '10.1.14.100'
node.vm.synced_folder 'salt/roots/', '/srv/'

node.vm.provision :salt do |salt|
salt.minion_config = 'salt/minion'
salt.run_highstate = true
salt.verbose = true
end
end

end
1 change: 1 addition & 0 deletions lib/salt-bootstrap
Submodule salt-bootstrap added at 66df7a
File renamed without changes.

0 comments on commit 4ac8dc8

Please sign in to comment.