Salt Packer SmartOS OSX VMWare
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew install saltstack
brew install caskroom/cask/brew-cask
brew tap caskroom/versions
brew cask install vmware-fusion6
brew cask install packer
- install pkgsrc
- install salt
packer build vmware.json
- get salt master running on osx.local
sudo mkdir /etc/salt/
sudo ln -s /opt/smartosx/minion /etc/salt/minion
sudo ln -s /opt/smartosx/master /etc/salt/master
sudo hostname osx.local
sudo cp /opt/smartosx/srv_salt/workstation/vmnet.conf /Library/Preferences/VMware\ Fusion/networking
note: minion config needs to be empty when not using --local
- get salt minion running inside gz.local
ssh [email protected]
pkgin -y install zeromq py27-m2crypto py27-crypto py27-msgpack py27-yaml py27-jinja2 py27-zmq py27-requests git-base
git clone git://github.com/kevpie/salt.git /opt/salt_install
cd /opt/salt_install
git checkout smartos_vmadm_optional_args
./setup.py build
./setup.py install
salt-minion -l info
- get salt minion running inside www.local
ssh [email protected]
pkgin -y install zeromq py27-m2crypto py27-crypto py27-msgpack py27-yaml py27-jinja2 py27-zmq py27-requests git-base
git clone git://github.com/kevpie/salt.git /opt/salt_install
cd /opt/salt_install
git checkout smartos_vmadm_optional_args
./setup.py build
./setup.py install
salt-minion -l info
sudo mkdir -p /opt/salt
sudo chown 501:20 /opt/salt
git clone https://github.com/{opt_salt_repo}.git /opt/salt/