John Lyman
2010-Jun-15 20:33 UTC
[Puppet Users] Provider gem is not functional on this platform
I just upgraded from 0.25.2 to 0.25.5 and now I get this: ... debug: Prefetching gem resources for package debug: Puppet::Type::Package::ProviderGem: Executing '' list --local'' warning: Could not match /usr/local/lib/ruby/gems/1.8/gems/ puppet-0.25.5/lib/puppet/util.rb:307: [BUG] rb_sys_fail() - errno == 0 warning: Could not match ruby 1.8.7 (2008-08-11 patchlevel 72) [i386- solaris2.10] debug: Puppet::Type::Package::ProviderGem: file gem does not exist err: //puppet/Gem[facter]/Package[facter]: Failed to retrieve current state of resource: Provider gem is not functional on this platform ... The strange thing is, if I run puppetd at a command prompt or with the ''at'' command, I don''t get the error. I only get it when running from cron. Any ideas? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Meier
2010-Jun-15 21:51 UTC
Re: [Puppet Users] Provider gem is not functional on this platform
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> The strange thing is, if I run puppetd at a command prompt or with the > ''at'' command, I don''t get the error. I only get it when running from > cron. > > Any ideas?maybe a $PATH issue? is the gem command in a standard location? cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwX9fIACgkQbwltcAfKi3/CBQCbBSPc0LgB2xmOAl9CchXniWSq sLcAnirTx9mQldFHF/GP1+bE3ID1jRlB =cBD1 -----END PGP SIGNATURE----- -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
John Lyman
2010-Jun-16 13:55 UTC
[Puppet Users] Re: Provider gem is not functional on this platform
> maybe a $PATH issue? is the gem command in a standard location?Yes, that was it. Thanks for pointing out the obvious to me :) -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.