Salt: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 24: Line 24:
rename the key ( /srv/salt/pki/master/minions/old.host.name )
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'
==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
Unless you made a typo, your minion probably doesn't have access in pillar

Revision as of 09:45, 28 June 2016

Salt Configuration Management

Links

Tools

FAQ

Change minion hostname

On minion:

  • hostname new.host.name
  • update /etc/hostname
  • 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