From 3c828d9e085f0dc43cf40dd5ee18dc5453529cf9 Mon Sep 17 00:00:00 2001 From: Niels Abspoel Date: Thu, 28 May 2015 23:00:27 +0200 Subject: [PATCH] Fix mine_function example in pillar.example This fixes #34, salt version 2015.5.x needs an extra argument for shell routines. --- pillar.example | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar.example b/pillar.example index d74bd2c..e6af833 100644 --- a/pillar.example +++ b/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