Issue #12405 has been updated by Daniel Pittman.

Status changed from Unreviewed to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/458

Hey.  We should actually have removed that code in the 2.7 branch - you can use 
`puppet node clean` to do the same thing, in a supported and tested way.  I am 
going to remove the old code, and please let me know if that better tool 
doesn't do what you need.  Thanks.
----------------------------------------
Bug #12405: storedconfig clean not parsing settings correctly
https://projects.puppetlabs.com/issues/12405

Author: Frederik Wagner
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: 
Category: stored configuration
Target version: 
Affected Puppet version: development
Keywords: storedconfig
Branch: https://github.com/puppetlabs/puppet/pull/458


The puppetstoredconfigclean.rb script does not parse the puppet settings 
correctly. It actually only executes 
     Puppet.settings.parse
in case the config file location differs from the default 
    if config != Puppet[:config]
     Puppet[:config]=config
     Puppet.settings.parse
    end

Correctly it should always be execute d
    if config != Puppet[:config]
     Puppet[:config]=config
    end

    Puppet.settings.parse
I.e. in this case always the sqlite3 adapter is used even if set differently in 
the puppet.conf file (e.g. mysql).

See attached patch.
 


-- 
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