Last active
June 17, 2016 12:52
-
-
Save bryantrobbins/dab5c7d8c88dcc1b0024f250cff730b6 to your computer and use it in GitHub Desktop.
Local puppet configuration sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: "/root/init/datadir" | |
:hierarchy: | |
- custom | |
- "hosts/%{::aws_cloudformation_logical_id}" | |
- common |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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