Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Salt/Setup

From Livedoc - The Documentation Repository
Revision as of 10:07, 28 May 2014 by 2016fwilson (talk | contribs)
Jump to: navigation, search

Setting up a machine to be salted

In order to “salt” a machine, we must first install Salt:

machine ~ # emerge salt

You should also add the “salt-minion” service to the default runlevel:

machine ~ # rc-update add salt-minion default
machine ~ # rc-service start salt-minion

After this, the machine should automatically contact the Salt server and get encryption working. This is all done automatically. If you have trouble, try setting the “id” parameter in /etc/salt/minion:

id: machine.csl.tjhsst.edu

Restart the salt-minion service (rc-service salt-minion restart) and you should be good to go. Continue with setting up salt states for the machine.