Last active
August 29, 2015 14:01
-
-
Save JonGretar/15e47d5fa68855da583b to your computer and use it in GitHub Desktop.
SmartOS Saltstack Vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -kL http://www.shalman.org/salt/salt-2014.1.10-esky-smartos.tar.gz | tar zxv | |
/opt/salt/install/install.sh | |
mv /opt/salt/etc/minion /opt/salt/etc/minion-EXAMPLE | |
echo "master: 10.0.2.2" >> /opt/salt/etc/minion | |
echo "update_url: http://www.shalman.org/salt/" >> /opt/salt/etc/minion | |
echo "update_restart_services: ['network/salt-minion']" >> /opt/salt/etc/minion | |
echo "id: smartos_minion" > /opt/salt/etc/minion_id | |
svcadm enable salt-minion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "smartos-base1310-64-virtualbox-20130806.box" | |
config.vm.box_url = "http://dlc-int.openindiana.org/aszeszo/vagrant/smartos-base1310-64-virtualbox-20130806.box" | |
config.vm.provision "shell", path: "salt_install.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment