Last active
July 26, 2018 21:42
-
-
Save binford2k/a50808fde74396b3e975268acfbba71b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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