Browse Source

script: Refresh pillars

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

+ 2
- 0
scripts/salt_pillar_sample.sh View File

@ -61,6 +61,8 @@ GENERIC_PILLAR
if [ $? -eq 0 ]; then
echo -e "\e[1m\n**Salt -- pillar.items output**\n\e[0m"
salt 'minion_*' pillar.items
echo -e "\e[1m\n**Salt -- saltutil.refresh_pillar output**\n\e[0m"
salt 'minion_*' saltutil.refresh_pillar
echo -e "\e[1m\n**Salt -- state.apply output**\n\e[0m"
salt 'minion_*' state.apply myfirstpillar
echo -e "\e[1m\n**Salt -- get file output with head command**\n\e[0m"


Loading…
Cancel
Save