Skip to content

Instantly share code, notes, and snippets.

@ipcrm
Created January 8, 2016 14:33
Show Gist options
  • Save ipcrm/7fe18070c818f28f9a81 to your computer and use it in GitHub Desktop.
Save ipcrm/7fe18070c818f28f9a81 to your computer and use it in GitHub Desktop.
NOOP Saftey latch(as written by nrvale0)
$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()
}
@ipcrm
Copy link
Author

ipcrm commented Jan 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment