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 committed 2019-04-19 17:34:10 +02:00
1 parent b5ac5e0b74
commit f91d246e98
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ setup those functions through pillar::
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 python_shell: True
public_ssh_host_names: public_ssh_hostname:
mine_function: grains.get mine_function: grains.get
key: id key: id