Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The parameter must be disabled (false) by default.
  2. The parameter must honor booleans and Strings where the Boolean true and the String 'simp' amount to the same action.
    1. Welcome to the Trevorian type "Stroolean." (big grin)
    2. The String value such as 'simp' will translate into the filename in the subsystem  path simp/<subsystem>/simp.pp 
      1. This is intended to permit backwards compatibility between SIMP versions if they require mutually exclusive logic.
      2. QUESTION: what is the benefit of these files over the ::params pattern? 
      3. ANSWER
        1. it allows n parallel configs to exist without conflicting
        2. it separates SIMP-specific settings from the rest of the module.
  3. The parameter must allow for an ENC or Hiera or straight parameter, since we want maximum module uptake where possible.
    1. 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> }

       

      1. QUESTIONShould we make this defined->hiera->default logic a function in simplib?
      2. ANSWER: Yeah, probably. How about.....simp_def('variable','default')

...

  •  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 
    Jira Legacy
    serverJIRA (simp-project.atlassian.net)
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId45e63be1-2551-37a6-b050-86a38172f71d
    keySIMP-20
     to adhere to this structure.

https://www.change.org/p/the-maryland-renaissance-festival-stop-the-use-of-live-elephants-as-an-attraction-at-the-faire/u/11351160