The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #5080

Need a better config class

Added by R.I. Pienaar almost 4 years ago. Updated 9 months ago.

Status:AcceptedStart date:11/22/2010
Priority:NormalDue date:
Assignee:Pieter Loubser% Done:

0%

Category:Backlog
Target version:2.3.x
Keywords:backlog Affected mCollective version:
Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/MCO-34


Description

The current config class is all hard coded and horrible regex parsing at the moment, we should improve it:

  • config should be expressed in code, like some kind of DSL.
  • DSL should set defaults, CLI overrides and ENV based overrides
  • DSL should set validations of configs
  • plugins config should be improved so that plugins essentially register their interest in specific options, with similar overrides

Subtasks

Bug #9956: servers have dependency on collective "mcollective" which...Accepted

Feature #5376: Retrieve config variablesAcceptedR.I. Pienaar

Feature #21605: Section support in config file.Needs Decision

History

#1 Updated by R.I. Pienaar over 2 years ago

  • Target version changed from 1.1.x to 2.1.x

#2 Updated by R.I. Pienaar almost 2 years ago

  • Category changed from Core to Backlog

#3 Updated by eric sorenson almost 2 years ago

  • Keywords set to backlog

#4 Updated by Pieter Loubser about 1 year ago

  • Status changed from Unreviewed to Accepted
  • Assignee set to Pieter Loubser
  • Target version changed from 2.1.x to 2.3.x

Also available in: Atom PDF