Skip to content

Instantly share code, notes, and snippets.

@hlindberg
Created June 15, 2017 12:06
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 hlindberg/d7da67e3ba056be351d60597044cd91d to your computer and use it in GitHub Desktop.
Save hlindberg/d7da67e3ba056be351d60597044cd91d to your computer and use it in GitHub Desktop.
function mymodule::my_privates (
Variant[String, Numeric] $key,
Hash $options,
Puppet::LookupContext $context,
) {
case $key {
'mymodule::secret1' : { Sensitive('There is no Santa on the evening coach') }
'mymodule::secret2' : { Sensitive('All your base are belong to us') }
default: { $context.not_found }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment