REMEMBER THAT FOR NOW YOU HAVE TO USE UBUNTU >= 14.04.
Use root unless you understand well how it works to handle user install
Download
Get MakinaStates by cloning it from github
Usually we install it in/srv/makina-statesgit clone http://raw.github.com/makinacorpus/makina-states /srv/makina-statesCommon install command
Install with
scratchnodetype, with refresh cron, logrotate.bin/boot-salt2.sh -C --install-logrotate --install-crons
boot-salt2.sh, the makina-states installer & manager
boot-salt2.shwill try to remember how you configured makina-states on each run. It stores configs in<clone_dir>/etc/makina-statesYou can see the help this way:
bin/boot-salt2.sh --help # Short overview: bin/boot-salt2.sh --long-help # Detailed overview:If you want to install with default options (scratch)
bin/boot-salt2.sh -C
Optional post install steps
Install the logrotate to rotate salt logs
bin/boot-salt2.sh -C --install-logrotateInstall the cron that refresh makina-states code every since and then (15min)
bin/boot-salt2.sh -C --install-cronsInstall the salt & ansible binaries to /usr/local/bin.
THIS IS NOT RECOMMENDED ANYMORE, AND CAN EVEN BE HARMFULLbin/boot-salt2.sh -C --install-links
Related documents
Last Updated: 2017-04-11