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 00:30, 27 February 2016 by 2016fwilson (talk | contribs) (Setting up a machine to be salted: categorize)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 salt-minion start

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.