From c71804e2246627446e9eb390229e371007ac86f4 Mon Sep 17 00:00:00 2001 From: Pekka Helenius <35750356+Fincer-altego@users.noreply.github.com> Date: Mon, 23 Apr 2018 19:46:11 +0300 Subject: [PATCH] salt_pillar_sample.sh: Re-add author notes --- scripts/salt_pillar_sample.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/salt_pillar_sample.sh b/scripts/salt_pillar_sample.sh index 7b7c7c8..c719b21 100644 --- a/scripts/salt_pillar_sample.sh +++ b/scripts/salt_pillar_sample.sh @@ -1,5 +1,17 @@ #!/bin/sh +# Author: Pekka Helenius (~Fincer), 2018 +# +# - This script creates two different text strings for two minions: minion_1 & minion_2 +# - This script is meant to be run on Salt master +# +# - This script creates the following files on master: +# /srv/pillar/top.sls +# /srv/pillar/minion-1.sls +# /srv/pillar/minion-2.sls +# /srv/salt/files/pillarfile +# /srv/salt/myfirstpillar.sls + if [ $(id -u) -eq 0 ]; then mkdir -p /srv/pillar