[root]# /etc/init.d/puppet once -v {irrelevant output skipped} err: Could not retrieve configuration: Invalid parameter ''"password"'' for type ''user'' at /etc/puppet/manifests/classes/serverAdminAuth.pp:42 puppet-0.22.4-1.el5.rf (rpm) RHEL 5 i386 # snippet from serverAdminAuth.pp User { ensure => present, gid => 105, provider => useradd, shell => "/bin/bash", } user { root: name => root, password => ''noyoumaynothavemyrootpasswordhash'', uid => 0, gid => 0, home => "/root", } #end code This is from a known good configuration, working on one seemingly identical puppet server with the same client. All config files were moved to a new server which when run will no longer set passwords. libshadow-ruby is installed (hopefully) correctly. Some more useful debugging information would be most helpful, sadly --debug does not include anything important to this particular problem. The RPM I built and installed libshadow-ruby with can be found @ http://home.eng.iastate.edu/~chaos Thanks for any help. Cole Christensen
On May 14, 2007, at 4:11 PM, Cole J Christensen wrote:> > [root]# /etc/init.d/puppet once -v > {irrelevant output skipped} > err: Could not retrieve configuration: Invalid parameter ''"password"'' > for type ''user'' at /etc/puppet/manifests/classes/serverAdminAuth.pp:42It seems likely that this machine is using an older version of Puppet, or is somehow finding libraries from an older version. Check Ruby''s search path for other installs, or make sure your main install is 0.22.4. -- Q. Does Usenet help stamp out ignorance? A. That depends on whether by "stamp out" you mean "eliminate" or "reproduce rapidly in great quantity." -- From the Usenet FAQ --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
problem solved in IRC... incorrect puppet version, updated to 22.4 and everything works fine Cole J Christensen wrote:> [root]# /etc/init.d/puppet once -v > {irrelevant output skipped} > err: Could not retrieve configuration: Invalid parameter ''"password"'' > for type ''user'' at /etc/puppet/manifests/classes/serverAdminAuth.pp:42 > > puppet-0.22.4-1.el5.rf (rpm) > RHEL 5 i386 > > # snippet from serverAdminAuth.pp > User { > ensure => present, > gid => 105, > provider => useradd, > shell => "/bin/bash", > } > > > user { root: > name => root, > password => ''noyoumaynothavemyrootpasswordhash'', > uid => 0, > gid => 0, > home => "/root", > } > > #end code > > This is from a known good configuration, working on one seemingly > identical puppet server with the same client. All config files were > moved to a new server which when run will no longer set passwords. > libshadow-ruby is installed (hopefully) correctly. Some more useful > debugging information would be most helpful, sadly --debug does not > include anything important to this particular problem. > > The RPM I built and installed libshadow-ruby with can be found @ > http://home.eng.iastate.edu/~chaos > > Thanks for any help. > > Cole Christensen > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users >
On Mon, May 14, 2007 at 04:11:37PM -0500, Cole J Christensen wrote:> The RPM I built and installed libshadow-ruby with can be found @ > http://home.eng.iastate.edu/~chaosIt doesn''t answer the original question but here it is. You might want to look at the package that I submitted for fedora last night at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240008 nothing really major but it does have a fix for a crash under x86_64. Cheers, Kostas