Salt: Difference between revisions

From DWIKI
mNo edit summary
Line 19: Line 19:
*hostname new.host.name
*hostname new.host.name
*update /etc/hostname
*update /etc/hostname
*update /etc/salt/minion_id
*restart salt-minion
*restart salt-minion



Revision as of 10:08, 28 June 2016

Salt Configuration Management

Links

Tools

FAQ

Change minion hostname

On minion:

  • hostname new.host.name
  • update /etc/hostname
  • update /etc/salt/minion_id
  • restart salt-minion

On master: rename the key ( /srv/salt/pki/master/minions/old.host.name )

Rendering SLS 'base:roles.foo.bar' failed: Jinja variable 'dict object' has no attribute 'blergh'

Unless you made a typo, your minion probably doesn't have access in pillar