like it was already done in the pillar.example in this PR https://github.com/saltstack-formulas/openssh-formula/pull/36 to avoid confusions.master
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 |