Advertisement
Guest User

Salt test sls include

a guest
Oct 10th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. [root@nyopstools2 salt]# salt 'nybmon1' state.highstate
  2. nybmon1:
  3. Data failed to compile:
  4. ----------
  5. Nonexistant saltenv 'test2' found in include of None within SLS 'base:test1'
  6. [root@nyopstools2 salt]# cat top.sls
  7. base:
  8. 'nybmon1':
  9. - test1
  10. [root@nyopstools2 salt]# cat test1.sls
  11. include:
  12. - test2:
  13.  
  14. httpd:
  15. pkg.installed:
  16. - require:
  17. - sls: test2
  18. [root@nyopstools2 salt]# cat test2.sls
  19. gcc:
  20. pkg.installed:
  21.  
  22. [root@nyopstools2 salt]# salt --version
  23. salt 2014.1.10 (Hydrogen)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement