Last active
August 29, 2015 14:03
-
-
Save nvalentine-puppetlabs/211dbfb147e1177dddcb to your computer and use it in GitHub Desktop.
deploy to noop example
This file contains 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
--- | |
force_noop: true | |
classes: | |
- myorg::profile::puppet::agent |
This file contains 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 | |
:logger: console | |
:hierarchy: | |
- "clientcert/%{::clientcert}" | |
- "role/%{::role}" | |
- "env/%{::environment}" | |
- common | |
:yaml: | |
:datadir: "/etc/puppetlabs/puppet/environments/%{::environment}/data" |
This file contains 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
--- | |
# role/puppetmaster.yaml | |
force_noop: false | |
classes: | |
- myorg::profile::puppet::master |
This file contains 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
$force_noop = hiera('force_noop') | |
unless false == $force_noop { | |
notify { "Puppet noop safety latch is enabled in site.pp!": } | |
noop() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment