Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1634

Puppet class parameter and hiera conversion


    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: backlog
    • Fix Version/s: 1.0.0
    • Component/s: deployment
    • Labels:


      As discussed on the DEV list:
      Update the puppet code to use self-contained, parametrised classes and proper scoping. Replace all extlookup calls bei either explicit or automatic hiera parameter lookups. Implement HA/non-HA alternative via hiera lookup hierarchy. Replace append_each from bigtop_util by suffix from stdlib. Do file imports via puppet:/// scheme. Remove bigtop_util because remaining function get_settings is not needed any more.

      Additionally: Add additional configuration options for zookeeper and yarn as well as a new class for journalnode configuration.

      I've separated it into two patches of ease of review:
      0001: actual hiera/class conversion
      0002: functional enhancements including journalnode configuration on top of that. Mainly meant as an example for ease of further expansion and containment of changes to single modules.

      This JIRA is meant for the stuff contained in 0001, the actual hiera conversion. I can resubmit 0002 as a separate JIRA if desired. Also it should be possible to backport 0002 to the current puppet code base without much fuss.




            • Assignee:
              michaelweiser Michael Weiser
              michaelweiser Michael Weiser
            • Votes:
              0 Vote for this issue
              4 Start watching this issue


              • Created: