Skip to content

Instantly share code, notes, and snippets.

@hogepodge
Created March 14, 2014 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hogepodge/9559161 to your computer and use it in GitHub Desktop.
Save hogepodge/9559161 to your computer and use it in GitHub Desktop.
$foo = { a => "'a'" }
$bar = to_python_type($foo)
notify { "${bar}": }
@hogepodge
Copy link
Author

"puppet apply --modulepath path_to_module foo.pp" yields

Notice: Compiled catalog for osd.corp.puppetlabs.net in environment production in 0.02 seconds
Notice: {'a':''a''}
Notice: /Stage[main]//Notify[{'a':''a''}]/message: defined 'message' as '{'a':''a''}'
Notice: Finished catalog run in 0.07 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment