...
- The parameter must be disabled (false) by default.
- The parameter must honor booleans and Strings where the Boolean true and the String '
simp
' amount to the same action.- Welcome to the Trevorian type "Stroolean."
- The String value such as '
simp
' will translate into the filename in the subsystem path simp/<subsystem>/simp.pp- This is intended to permit backwards compatibility between SIMP versions if they require mutually exclusive logic.
- QUESTION: what is the benefit of these files over the ::params pattern?
- ANSWER:
- it allows n parallel configs to exist without conflicting
- it separates SIMP-specific settings from the rest of the module.
- The parameter must allow for an ENC or Hiera or straight parameter, since we want maximum module uptake where possible.
This will look something like the following
$simp$manage_firewall = defined('$::simpmanage_firewall') ? { true => $::simpmanage_firewall, default :=> hiera('simpmanage_firewall',falsetrue) }
Translation:
$variable => { <if set> => <use global/ENV variable>, <otherwise> => <use what's in Hiera or default to true> }
- QUESTION: Should we make this defined->hiera->default logic a function in
simplib
? - ANSWER: Yeah, probably. How about.....simp_def('variable','default')
- QUESTION: Should we make this defined->hiera->default logic a function in
...
- Discuss these decisions on Monday and ensure that I didn't miss anything of note. Update the page accordingly.
- Construct the Puppet module skeleton defined in
to adhere to this structure.Jira Legacy server JIRA (simp-project.atlassian.net) columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 45e63be1-2551-37a6-b050-86a38172f71d key SIMP-20
https://www.change.org/p/the-maryland-renaissance-festival-stop-the-use-of-live-elephants-as-an-attraction-at-the-faire/u/11351160