Browse Source

salt_pillar_sample.sh: Re-add author notes

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
c71804e224
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      scripts/salt_pillar_sample.sh

+ 12
- 0
scripts/salt_pillar_sample.sh View File

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


Loading…
Cancel
Save