Skip to content

Instantly share code, notes, and snippets.

@crayfishx
Created August 4, 2014 08:41
Show Gist options
  • Save crayfishx/ac6529804bd6ee6d9732 to your computer and use it in GitHub Desktop.
Save crayfishx/ac6529804bd6ee6d9732 to your computer and use it in GitHub Desktop.
policy :puppet do
lookup :default do
datasource :file, {
:format => :yaml,
:docroot => '../etc',
:searchpath => [
"#{scope[:environment]}",
'global',
'common'
]
}
exclude :environment, "production"
output_filter :encryption
hiera_compat
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment