Issue #4028 has been updated by Gonçalo Queirós.

Tried to apply the changes to my sqlite3_adapter.rb but got the same error all 
the time..
----------------------------------------
Bug #4028: puppetstoredconfigclean not working with sqlite3
http://projects.puppetlabs.com/issues/4028

Author: Gonçalo Queirós
Status: Investigating
Priority: Normal
Assigned to: Brice Figureau
Category: 
Target version: 
Affected version: 0.25.5
Keywords: 
Branch: 


Hi there. I've tried to use the puppet/ext/puppetstoredconfigclean.rb file to 
clean some exported resources but i got the following error:

/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:29:in
 `table_structure': Could not find table 'hosts' 
(ActiveRecord::StatementInvalid)

I don't understand much of ruby, but looking at the script provided on 
http://projects.puppetlabs.com/issues/1886, i noted that the line 
"args[:database] = "puppet" unless not args[:database].to_s.empty?" is the main 
big difference.

If i comment this line on the puppetstoredconfigclean.rb file the scripts 
executes fine.
Thanks


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