Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CFEngine Masterfiles Policy Framework: A short ...

Nick Anderson
February 07, 2017

CFEngine Masterfiles Policy Framework: A short history and future direction

A short history o

Nick Anderson

February 07, 2017
Tweet

More Decks by Nick Anderson

Other Decks in Technology

Transcript

  1. 1 MASTERFILES POLICY FRAMEWORK: A SHORT HISTORY AND FUTURE DIRECTION

    NICK ANDERSON Created: 2017-02-07 Tue 18:34
  2. 3 . 2 MY NAME IS NICK. Wife, 2 kids,

    and a dog Sysadmin/Infrastructure Engineer You can find me online | [email protected] [email protected] twitter: @cmdln_ cmdln.org linkedin.com/in/hithisisnick How about you?
  3. 4 . 1 WHAT IS THE MASTERFILES POLICY FRAMEWORK? MPF

    for short The default policy set A starting place to build upon Something that grew organically (at least from my perspective)
  4. 5 . 2 3.0 (2009) Example policy shipped in /usr/local/share/doc/cfengine/inputs

    promises.cf failsafe.cf update.cf library.cf site.cf
  5. 5 . 3 3.1 (2010) Example policy shipped in /usr/local/share/doc/cfengine/inputs

    promises.cf failsafe.cf update.cf cfengine_stdlib.cf site.cf
  6. 5 . 4 3.2 (2011) Example policy shipped in /usr/local/share/doc/cfengine/example_config

    promises.cf failsafe.cf update.cf cfengine_stdlib.cf site.cf
  7. 5 . 5 3.3 (2012) The first hint of a

    base policy set Base policy shipped in /var/cfengine/share/CoreBase promises.cf failsafe.cf cfengine_stdlib.cf
  8. 5 . 6 3.4 (2012) Base policy shipped in /var/cfengine/share/CoreBase

    Structure arrives: controls/<component>.cf failsafe/failsafe.cf def.cf services/ libraries/cfengine_stdlib.cf cf-sketch-runfile.cf
  9. 5 . 7 3.5 (2013) Base policy shipped in /var/cfengine/share/CoreBase

    controls/<component>.cf failsafe/failsafe.cf def.cf services/ libraries/cfengine_stdlib.cf cf-sketch-runfile.cf
  10. 5 . 8 3.6 (2014) … OH MY Moved out

    of core, into its own repository Testing added Stdlib rendered in docs Build/install with make Base policy shipped in /var/cfengine/share/CoreBase Used for both Enterprise and Community builds cfe_internal/ inventory/ lib/VER/ services/autorun/ update/
  11. 5 . 9 3.7 - 3.9 (2015-2016) Reduce enterprise policies

    evaluated on non Enterprise agents Improved inline policy documentation 3.7.0 Augments file (def.json) introduced 3.7.4 augments parsing moved from policy to C 3.8 - Version split lib and controls re-combined 3.9 - No major structural changes
  12. 5 . 10 3.10 (2016) MPF rendered in reference manual

    Formal naming convention for adjusting controls via augments control_<component>_key
  13. 7 . 1 WHAT WOULD YOU LIKE TO SEE? More

    augmentation, less modification https://github.com/cfengine/masterfiles/pull/860/files