Advertisement
Guest User

Untitled

a guest
Feb 7th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. ## REPOSITORY LAYOUT:
  2. # foo
  3. /
  4. /pillar
  5. /foo
  6. init.sls
  7. # bar
  8. /
  9. /pillar
  10. /bar
  11. init.sls
  12.  
  13. ## master config
  14. ext_pillar:
  15. - git:
  16. - develop git@my-super-awesome-and-verified-correct-url:project/foo.git
  17. - root: pillar
  18. - env: base
  19. - git:
  20. - master git@my-super-awesome-and-verified-correct-url:project/bar.git
  21. - root: pillar
  22. - env: base
  23.  
  24. ## pillar top.sls
  25. '*':
  26. base:
  27. 'G@grain:value':
  28. - foo
  29. - bar
  30.  
  31. # result
  32. - foo: everything is fine
  33. - bar: "Specified SLS 'bar' in environment 'base' is not available on the salt master"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement