Issue #8547 has been updated by Nan Liu.

Status changed from Unreviewed to Investigating
Assignee set to Nan Liu

This is technically an ext script, so part of the extra scripts and not core. I 
don't think this is as rigorously supported and tested. However please check 
the following branch:

https://github.com/nanliu/puppet/blob/ticket%2F2.7.x%2F8547/ext/puppetstoredconfigclean.rb

If the patch is sufficient, I'll send it for merging against puppet.
----------------------------------------
Bug #8547: puppetstoredconfigclean checks only [master] for database 
configuration, should also check [main]
https://projects.puppetlabs.com/issues/8547

Author: Pieter Lexis
Status: Investigating
Priority: Normal
Assignee: Nan Liu
Category: ext
Target version: 
Affected Puppet version: 2.6.8
Keywords: puppetstoredconfigclean
Branch: 


I use stored configs on the puppetmaster. The database information is in the 
[main] section of puppet.conf (because of queuing, puppetqd checks the [main] 
for this information).

The [master] section of puppet.conf is empty. Puppet works as expected. However,
    puppetstoredconfigclean
doesn't

The following error is thrown: 
    /usr/sbin/puppetstoredconfigclean:74: Invalid db adapter  (ArgumentError)

When the database information is specified in the [master] section, 
puppetstoredconfigclean works as expected. I would expect that 
puppetstoredconfigclean behaves the same as the puppetmaster when reading it's 
configuration.

The puppet version is 2.6.8 from debian-backports.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to