Fix name of mine function to retrieve the hostname

The code uses 'public_ssh_hostname' and not 'public_ssh_host_names'.
This commit is contained in:
Raphaël Hertzog 2019-04-19 17:33:12 +02:00
parent b5ac5e0b74
commit f91d246e98

View File

@ -87,7 +87,7 @@ setup those functions through pillar::
mine_function: cmd.run
cmd: cat /etc/ssh/ssh_host_*_key.pub
python_shell: True
public_ssh_host_names:
public_ssh_hostname:
mine_function: grains.get
key: id