Skip to content

Instantly share code, notes, and snippets.

@naumvd95
Created January 16, 2018 12:49
Show Gist options
  • Save naumvd95/fb66305819ca71f72cb63dadb3e92a86 to your computer and use it in GitHub Desktop.
Save naumvd95/fb66305819ca71f72cb63dadb3e92a86 to your computer and use it in GitHub Desktop.
refresh salt entities
echo 'clear cache-------------'
salt '*' saltutil.clear_cache
echo 'clear refresh beacons--------'
salt '*' saltutil.refresh_beacons
echo 'clear refresh grains--------'
salt '*' saltutil.refresh_grains
echo 'clear refresh modules--------'
salt '*' saltutil.refresh_modules
echo 'clear refresh pillars--------'
salt '*' saltutil.refresh_pillar
echo 'clear sync all--------'
salt '*' saltutil.sync_all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment