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

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:

Bug #22445

'puppet storeconfigs export' only uses [main] for settings

Added by Darin Perusich over 2 years ago. Updated over 2 years ago.

Status:AcceptedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected PuppetDB 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/PDB-174


Description

The ‘puppet storeconfigs export’ command only looks into [main] for storeconfig settings, it should at a minimum check [master] which some would argue is the proper stanza for storeconfig settings.

At a minimum it should be documented in the command help or man page that ‘puppet storeconfigs export’ expects the settings to be in [main].

History

#1 Updated by Ken Barber over 2 years ago

  • Status changed from Unreviewed to Accepted

The ‘puppet storeconfigs export’ command only looks into [main] for storeconfig settings, it should at a minimum check [master] which some would argue is the proper stanza for storeconfig settings.

Without looking at code, I’m reasonably certain that tapping the [master] section is not easy or normal for that matter … the sections are separated for sub-commands, thats a puppet thing, and always has been since 0.22 at least (going from my memory) – as surprising as that may seem. Case in point, when you start a server it uses the ‘master’ sub-command, hence why those settings work in the [master] section for a master. We can certainly look at a work-around however, but it might be going against the grain.

Documentation seems reasonable enough though regardless.

#2 Updated by Charlie Sharpsteen over 2 years ago

Redmine Issue #22445 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/PDB-174

Also available in: Atom PDF