Created
July 2, 2013 12:43
-
-
Save dcarley/5908963 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
notice: Scope(Class[main]): Puppet version: 2.7.19 | |
Must pass required to Class[Bar] at line 9 on node dcarley-mba.local |
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
Notice: Scope(Class[main]): Puppet version: 3.0.2 | |
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults | |
Notice: | |
Notice: /Stage[main]/Bar/Notify[should never be empty]/message: defined 'message' as '' | |
Notice: Finished catalog run in 0.14 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
Notice: Scope(Class[main]): Puppet version: 3.2.2 | |
Warning: Config file /Users/dcarley/.puppet/hiera.yaml not found, using Hiera defaults | |
Notice: | |
Notice: /Stage[main]/Bar/Notify[should never be empty]/message: defined 'message' as '' | |
Notice: Finished catalog run in 0.06 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 ( | |
$required = undef | |
) { | |
class { 'bar': | |
required => $required, | |
} | |
} | |
class bar ($required) { | |
notify { 'should never be empty': | |
message => "${required}", | |
} | |
} | |
notice("Puppet version: ${puppetversion}") | |
include foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment