salt_setup

Salt works similar to puppet in a way that it has a master and a minion.

In order to configure the master and the minion. The minion needs to send request to the master, a key, and the master has to accept that key. Furthermore, the master can be configured to accept keys only from certain minions. In general, the configuration for:

  • Master: /etc/salt/master
  • Minion: /etc/salt/minion

Bear in mind, that these configuration files are YAML files, although they don't need the (—) at the beginning. To indicate to where a minion to authenticate, we need to simply to set:

master: saltmaster

In the /etc/salt/minion file That will send request to the master. From master side we need to accept the key as follows:

$salt-key -A

This will accept all keys and will ask you to confirm

  • salt_setup.txt
  • Last modified: 2023/12/06 07:57
  • by andonovj