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-states
git clone http://raw.github.com/makinacorpus/makina-states /srv/makina-states
Common install command
Install with
scratch
nodetype, with refresh cron, logrotate.bin/boot-salt2.sh -C --install-logrotate --install-crons
boot-salt2.sh, the makina-states installer & manager
boot-salt2.sh
will try to remember how you configured makina-states on each run. It stores configs in<clone_dir>/etc/makina-states
You 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-logrotate
Install the cron that refresh makina-states code every since and then (15min)
bin/boot-salt2.sh -C --install-crons
Install 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