Skip to content

Instantly share code, notes, and snippets.

@binford2k
Last active July 26, 2018 21:42
Show Gist options
  • Save binford2k/a50808fde74396b3e975268acfbba71b to your computer and use it in GitHub Desktop.
Save binford2k/a50808fde74396b3e975268acfbba71b to your computer and use it in GitHub Desktop.
puppet apply parse_order.pp
Notice: Compiled catalog for ganymede.corp.puppetlabs.net in environment production in 0.16 seconds
Notice: foo
Notice: /Stage[main]/Foo/Notify[foo]/message: defined 'message' as 'foo'
Notice: after the include
Notice: /Stage[main]/Main/Notify[after the include]/message: defined 'message' as 'after the include'
Notice: Applied catalog in 0.05 seconds
class foo {
notify { 'foo': }
}
if defined(Class['foo']) {
notify { 'before the include': }
}
include foo
if defined(Class['foo']) {
notify { 'after the include': }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment