Skip to content

Instantly share code, notes, and snippets.

@duritong
Created November 24, 2009 18:12
Show Gist options
  • Save duritong/242074 to your computer and use it in GitHub Desktop.
Save duritong/242074 to your computer and use it in GitHub Desktop.
$ 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
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment