/
The Nature of Global Catalysts in SIMP 6

The Nature of Global Catalysts in SIMP 6

Status

DONE

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

  •  

Related content

SIMP 6.2.0
More like this
How should SIMP 6 handle PKI?
How should SIMP 6 handle PKI?
More like this
The New Layout for all SIMP Modules
The New Layout for all SIMP Modules
More like this
What should the future of 'simp config' look like?
What should the future of 'simp config' look like?
More like this
SIMP 6.6.0
More like this
Analysis of SIMP 6.4.0 modules that use simplib::passgen()
Analysis of SIMP 6.4.0 modules that use simplib::passgen()
More like this