On May 11, 2009, at 6:38 AM, Jean Spirat wrote: > > Peter Meier a écrit : >> Hi >> >> puppet version? Did you turn stored configs on? etc. >> >> I assume you have followed >> http://reductivelabs.com/trac/puppet/wiki/ExportedResources ? >> >> cheers pete >> > yes, > > i have the lenny puppet package running on both and yes i have stored > config running i see mysql query being done :) > > facterversion => 1.5.1 > puppetversion => 0.24.5
This is likely your problem. The bug you're encountering didn't hit everyone, but it basically is a Rails constant lookup issue. You can add some lines to your rails/resource.rb file, something like: has_many :param_values, :dependent => :destroy, :class_name => "Puppet::Rails::ParamValue" has_many :param_names, :through => :param_values, :class_name => "Puppet::Rails::ParamName" has_many :resource_tags, :dependent => :destroy, :class_name => "Puppet::Rails::ResourceTag" has_many :puppet_tags, :through => :resource_tags, :class_name => "Puppet::Rails::PuppetTag" Or you can upgrade. :) > > (root)> mysql -V > mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using > readline 5.2 > > > if i just invert the nodes i have the very same error on the other > node: > > node 'main-1' { > > File <<| tag == 'backup01' |>> > } > > > node 'backup01' { > > @@file{"/tmp/$fqdn": content => "$fqdn", tag > => 'backup01';} > } > > > err: Could not retrieve catalog: Puppet::Parser::Compiler failed with > error NameError: uninitialized constant ParamValue on node main-1 > > > > > regards, > Jean > > > > -- Talent hits a target no one else can hit; Genius hits a target no one else can see. -- Arthur Schopenhauer --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---