You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Salt Minion

Installing Salt Minion, as root:

wget -O /tmp/install_salt.sh http://bootstrap.saltstack.org

sh /tmp/install_salt.sh

Once installed, and before you start it, be sure to edit the `/etc/salt/minion` file for the following details...

LDAP Servers
 master: <ip addr or fqdn of salt master>

log_level: debug

grains:
  env: pilot
  roles:
    - ldap
    - ldap-master1

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

master: <ip addr or fqdn of salt master>
log_level: debug

grains:
  env: pilot
  roles:
    - tomcat
    - activemq
    - pg_master
    - cpr
    - cpr_master

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4
salt-key -L

salt-key -y -a <fqdn of salt minion>

  • No labels