>> >> 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. :) > >
i would like to upgrade but this is the package of the debian lenny which is the latest so perhaps a backport would be the solution but i couldn't find anyone, using the squeeze pinning of apt i need to upgrade all those: apt apt-utils aptitude base-files base-passwd bash binutils bsd-mailx coreutils cpio cpp cpp-4.3 debconf debconf-i18n debianutils dpkg dpkg-dev facter findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gnupg gpgv grep groff-base gzip info iproute iptables irb1.8 libc6 libc6-dev libdb4.6 libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libept0 libgcc1 libgcrypt11 libgdbm3 libgmp3c2 libgnutls26 libgomp1 libgpg-error0 libgpm2 libjs-prototype liblog4r-ruby1.8 libmocha-ruby1.8 libmpfr1ldbl libmysql-ruby libmysql-ruby1.8 libncurses5 libncursesw5 libnet-daemon-perl libopenssl-ruby1.8 libpam-modules libpam-runtime libpam0g libpcre3 libplrpc-perl libreadline-ruby1.8 libreadline5 libredcloth-ruby1.8 libruby1.8 libsasl2-2 libselinux1 libsepol1 libsqlite3-0 libssl0.9.8 libstdc++6 libstdc++6-4.3-dev libtasn1-3 libxapian15 libxml-simple-ruby locales locate login logrotate lsb-base lsb-release mailx man-db manpages mawk mktemp module-init-tools ncurses-base ncurses-bin net-tools passwd python python-minimal python2.5 python2.5-minimal rails rake rdoc1.8 readline-common rsyslog ruby1.8 ruby1.8-dev rubygems1.8 sed sudo tar traceroute tzdata vim vim-common vim-runtime vim-tiny wwwconfig-common zip zlib1g zlib1g-dev so...this seems quite a lot of change to the basic system for just puppet :) Thanks for the patch it works now. regards, Jean. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---