Advertisement
Guest User

Untitled

a guest
Jul 30th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $> cat <<EOF > simple_file.sls
  2. /etc/hadoop/placeholder.txt:
  3. file:
  4. - managed
  5. - source: salt://placeholder.txt
  6. - user: root
  7. - group: root
  8. - made: 644
  9.  
  10. EOF
  11. $> cat <<EOF > placeholder.txt
  12. serial no: 1
  13. EOF
  14. $> salt '*' state.sls simple_file
  15. $> cat /etc/hadoop/placeholder.txt
  16. serial no: 1
  17. $> cat <<EOF > placeholder.txt
  18. serial no: 2
  19. EOF
  20. $> salt '*' state.sls simple_file
  21. $> cat /etc/hadoop/placeholder.txt
  22. serial no: 1
  23. $>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement