Issue #12405 has been reported by Frederik Wagner.

----------------------------------------
Bug #12405: storedconfig clean not parsing settings correctly
https://projects.puppetlabs.com/issues/12405

Author: Frederik Wagner
Status: Unreviewed
Priority: Normal
Assignee: 
Category: stored configuration
Target version: 
Affected Puppet version: development
Keywords: storedconfig
Branch: 


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