Child pages
  • Salt Minion Build Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
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 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

Code Block
 master: <ip addr or fqdn of salt master>

log_level: debug

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

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 ldap-master2

Code Block
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

Code Block
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

Code Block
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>