瀏覽代碼

Fix mine_function example in pillar.example

This fixes #34, salt version 2015.5.x needs an extra argument
for shell routines.
master
Niels Abspoel 9 年之前
父節點
當前提交
3c828d9e08
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      pillar.example

+ 1
- 0
pillar.example 查看文件

@@ -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

Loading…
取消
儲存