Created
January 8, 2016 14:33
-
-
Save ipcrm/7fe18070c818f28f9a81 to your computer and use it in GitHub Desktop.
NOOP Saftey latch(as written by nrvale0)
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_real = str2bool( pick( $::force_noop, hiera('force_noop', 'true') ) ) | |
if $force_noop_real { | |
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
Requires the use of https://forge.puppetlabs.com/trlinkin/noop