Child pages
  • Salt Minion Build Documentation
Skip to end of metadata
Go to start of metadata

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 and add the following details based on the server's role and environment.

Note, the EIP for the Salt Master in the I2 CommIT environment is

LDAP Servers

.h5 ldap-master1

master: <ip addr or fqdn of salt master>

log_level: debug

grains:
  env: <environment>
  roles:
    - ldap
    - ldap-master1

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 ldap-master2

master: <ip addr or fqdn of salt master>

log_level: debug

grains:
  env: <environment>
  roles:
    - ldap
    - ldap-master2

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 cpr-pg-master

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

grains:
  env: <environment>
  roles:
    - tomcat
    - activemq
    - pg_master
    - cpr
    - cpr_master

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 cpr-pg-slave

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

grains:
  env: <environment>
  roles:
    - tomcat
    - activemq
    - pg_replica
    - cpr

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

salt-key -L

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

  • No labels