InterviewSolution
| 1. |
Salting The Salt Master? |
|
Answer» In order to configure a master server via states, the Salt master can also be "salted" in order to enforce state on the Salt master as well as the Salt minions. Salting the Salt master requires a Salt minion to be INSTALLED on the same machine as the Salt master. Once the Salt minion is installed, the minion configuration file must be pointed to the local Salt master: master: 127.0.0.1 Once the Salt master has been "salted" with a Salt minion, it can be targeted just LIKE any other minion. If the minion on the salted master is running, the minion can be targeted via any usual salt COMMAND. Additionally, the salt-callcommand can execute operations to enforce state on the salted master WITHOUT requiring the minion to be running. In order to configure a master server via states, the Salt master can also be "salted" in order to enforce state on the Salt master as well as the Salt minions. Salting the Salt master requires a Salt minion to be installed on the same machine as the Salt master. Once the Salt minion is installed, the minion configuration file must be pointed to the local Salt master: master: 127.0.0.1 Once the Salt master has been "salted" with a Salt minion, it can be targeted just like any other minion. If the minion on the salted master is running, the minion can be targeted via any usual salt command. Additionally, the salt-callcommand can execute operations to enforce state on the salted master without requiring the minion to be running. |
|