-
-
Save igalic/8708997 to your computer and use it in GitHub Desktop.
This file contains 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
define foo( | |
$hashish = $title | |
){ | |
notify { "foo smoking some hashish: ${hashish}":} | |
} | |
$bar = { | |
x => 'y', | |
y => 'z', | |
} | |
foo { $bar: } | |
% puppet apply --verbose foo.pp | |
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1 | |
/dev/mem: Permission denied | |
Warning: Could not retrieve fact fqdn | |
Notice: Compiled catalog for levix in environment production in 0.05 seconds | |
/dev/mem: Permission denied | |
Info: Applying configuration version '1391090648' | |
Notice: foo smoking some hashish: {"x"=>"y", "y"=>"z"} | |
Notice: /Stage[main]/Main/Foo[{"x"=>"y", "y"=>"z"}]/Notify[foo smoking some hashish: {"x"=>"y", "y"=>"z"}]/message: defined 'message' as 'foo smoking some hashish: {"x"=>"y", "y"=>"z"}' | |
Notice: Finished catalog run in 0.33 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment