Guest User

Untitled

a guest
Apr 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $ cat foo.pp
  2. class a {
  3. file{'/tmp/a': ensure => file}
  4. file{'/tmp/b': ensure => file}
  5. }
  6.  
  7. class b inherits a {
  8. File['/tmp/b']{ensure => absent }
  9. }
  10.  
  11. include a
  12. include b
  13. $ puppet foo.pp
  14. notice: //a/File[/tmp/a]/ensure: created
  15. $
Add Comment
Please, Sign In to add comment