Guest User

Untitled

a guest
Dec 10th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. -bash-3.2# more ../site.pp
  2. #importing rest of manifests
  3. import "classes/*"
  4.  
  5. node default {
  6. }
  7.  
  8. node app1-test {
  9. include app1-test
  10. }
  11.  
  12.  
  13. bash-3.2# pwd
  14. /etc/puppetlabs/puppet/manifests/classes
  15. -bash-3.2# more app1-test.pp
  16. class app1-test {
  17. file { "/tmp/foom":
  18. ensure => file,
  19. mode => 777,
  20. }
  21. }
  22.  
  23. and here is the results
  24. sh-3.2# puppet agent --server ip-10-2-26-95 --waitforcert 60 --test
  25. info: Retrieving plugin
  26. info: Caching catalog for app1-test
  27. info: Applying configuration version '1315342792'
  28. notice: Finished catalog run in 0.01 seconds
  29.  
  30.  
  31. but NO file is created
Add Comment
Please, Sign In to add comment