Skip to content

Instantly share code, notes, and snippets.

@ezr-ondrej
Last active April 7, 2021 13:05
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 ezr-ondrej/a7b42bdfb07e5cbc3cb53033073ac475 to your computer and use it in GitHub Desktop.
Save ezr-ondrej/a7b42bdfb07e5cbc3cb53033073ac475 to your computer and use it in GitHub Desktop.
Setting definition
setting_block(:puppet, N_('Puppet')) do |mapper|
mapper.category(:cfgmgmt, N_('Configuration management')) do |cat_mapper|
cat_mapper.setting(:use_cooler_puppet, default: true,
description: N_('This will ensure we install new and shiny puppet on Host instead of rusty one'),
full_name: N_('Use shiny puppet'),
encrypt: true)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment