Advertisement
Guest User

Untitled

a guest
Apr 9th, 2014
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. ## /etc/salt/master
  2. nodegroups:
  3. salt-master-prod: 'salt.example.com'
  4.  
  5. ## gitfs top.sls
  6. base:
  7. '*':
  8. - salt.minion
  9. salt-master-prod:
  10. - match: nodegroup
  11. - salt.master
  12.  
  13. user@salt$ sudo salt -N 'salt-master-prod' test.ping
  14. salt.example.com:
  15. True
  16. user@salt$ sudo salt -N 'salt-master-prod' state.show_top
  17. salt.example.com:
  18. ----------
  19. base:
  20. - infrastructure.salt.minion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement