Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Kendall's option 0

...

An additional option of <author_name>_<fact_name> was presented but discounted as unable to be migrated to a new module maintainer without causing widespread issues and so is not listed.

Options considered


Option 0:Option 1:Option 2:Option 3:
Descriptionsimp_<fact_name><modulename>_<fact_name> (single_underscore)<modulename>__<fact_name> (double underscore)<module_name>-<fact_name>
Pros and cons

(plus) Easy to understand

(minus) The hard-coded simp_ prefix would make transitioning ownership of a module to another organization awkward.

(plus) Easy to understand

(minus) May run into issues if

<modulename>

<module_name> corresponds to a fact with an underscore

(plus) Minimizes risk of conflicts with any system fact value

(minus) Kind of strange syntactically (but not incorrect)

(plus) VERY unlikely to conflict with anything

(minus) The hyphen is a non-idiomatic character for fact names

(minus) Facts using this can't be accessed in classic $::fact_name format

(minus) Facter and Puppet (via $facts[]) accept this syntax , but there may be weird edge cases or tools that don't

Estimated cost
Status
colourGreen
titleSMALL
Status
colourGreen
titleSMALL
Status
colourGreen
titleSMALL
Status
colourGreen
titleSMALL

Action items

  •  

Outcome