Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat foo.pp
- class a {
- file{'/tmp/a': ensure => file}
- file{'/tmp/b': ensure => file}
- }
- class b inherits a {
- File['/tmp/b']{ensure => absent }
- }
- include a
- include b
- $ puppet foo.pp
- notice: //a/File[/tmp/a]/ensure: created
- $
Add Comment
Please, Sign In to add comment