Fix mine_function example in pillar.example
This fixes #34, salt version 2015.5.x needs an extra argument for shell routines.
This commit is contained in:
parent
0dd6a19fd3
commit
3c828d9e08
|
@ -124,6 +124,7 @@ mine_functions:
|
||||||
public_ssh_host_keys:
|
public_ssh_host_keys:
|
||||||
mine_function: cmd.run
|
mine_function: cmd.run
|
||||||
cmd: cat /etc/ssh/ssh_host_*_key.pub
|
cmd: cat /etc/ssh/ssh_host_*_key.pub
|
||||||
|
python_shell: True
|
||||||
public_ssh_hostname:
|
public_ssh_hostname:
|
||||||
mine_function: grains.get
|
mine_function: grains.get
|
||||||
key: id
|
key: id
|
||||||
|
|
Loading…
Reference in New Issue