Skip to content

Instantly share code, notes, and snippets.

@jeff1evesque
Last active August 1, 2016 00:59
Show Gist options
  • Save jeff1evesque/d50421f9119f2a1892b17e77ee301750 to your computer and use it in GitHub Desktop.
Save jeff1evesque/d50421f9119f2a1892b17e77ee301750 to your computer and use it in GitHub Desktop.
Validate puppet variables via 'puppet apply'
vagrant@vagrant-ubuntu-trusty-64:~$ puppet apply -e 'notify { "something@%/ok.*": }'
Notice: Compiled catalog for vagrant-ubuntu-trusty-64.home in environment produc
tion in 0.03 seconds
Notice: something@%/ok.*
Notice: /Stage[main]/Main/Notify[something@%/ok.*]/message: defined 'message' as
'something@%/ok.*'
Notice: Applied catalog in 0.01 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment