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:
Niels Abspoel 2015-05-28 23:00:27 +02:00
parent 0dd6a19fd3
commit 3c828d9e08
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ mine_functions:
public_ssh_host_keys:
mine_function: cmd.run
cmd: cat /etc/ssh/ssh_host_*_key.pub
python_shell: True
public_ssh_hostname:
mine_function: grains.get
key: id