Skip to content

Instantly share code, notes, and snippets.

@bryantrobbins
Last active June 17, 2016 12:52
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 bryantrobbins/dab5c7d8c88dcc1b0024f250cff730b6 to your computer and use it in GitHub Desktop.
Save bryantrobbins/dab5c7d8c88dcc1b0024f250cff730b6 to your computer and use it in GitHub Desktop.
Local puppet configuration sample
---
:backends:
- yaml
:yaml:
:datadir: "/root/init/datadir"
:hierarchy:
- custom
- "hosts/%{::aws_cloudformation_logical_id}"
- common
hiera_include('classes')
if versioncmp($::puppetversion,'3.6.1') >= 0 {
$allow_virtual_packages = hiera('allow_virtual_packages',false)
Package {
allow_virtual => $allow_virtual_packages,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment