Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 4 Current »

Status

IN PROGRESS

Stakeholders
Outcome(See Background)
Due date
Owner

Background

As a follow-up to The New Layout for all SIMP Modules

 

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'


Pros:

Cons:

Option 2: Separate Name-Spaced Variables

Examples:

 

---

simp::enable_pki: true

simp::client_nets:

  - '192.168.0.0/24'

Pros:

Cons:

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

  •  
  • No labels