Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
label
Status

Status
colourYellow
titleIn Progress

Stakeholders
Outcome(See Background)
Due date
Owner

...

Option 1: Separate Prefixed Variables

Examples:

 

 

---

# prefix 1: simp_*

simp_pki: true
simp_client_nets:

  - '192.168.0.0/24'

 

# prefix 2: enable_simp_*

enable_simp_pki: true

# enable isn't a thing for client_nets
simp_client_nets:

  - '192.168.0.0/24'

...

Option 3: Name-Spaced Hash of Options

Examples:

 

---

simp::options:
  'enable_pki': true
  'client_nets':
    - '192.168.0.0/24'

Pros:

 

Cons:

  • Individual elements within a Hash are awkward to modify or override
    • class parameters
    • deep merge or replace?

Action items

  •