royhills
2011-Dec-31 16:32 UTC
[Puppet Users] puppet 2.7.9 on Windows XP fails with "win32-service(0.7.1 not >= 0)"
I know XP isn''t officially supported, but this looks like a trivial problem that could be easily fixed. I''m running puppet 2.7.9 and facter 1.6.4 on Windows XP SP3 with ruby 1.8.7 p357 When I run puppetd or facter, I get the error: "Cannot run on Microsoft Windows without the sys-admin, win32-process, win32-dir & win32-service gems: RubyGem version error: win32- service(0.7.1 not >= 0)" All of the gems mentioned are installed, and win32-service is version 0.7.1 as reported. The "0.7.1 not >= 0" looks like a simple comparison error, because obviously 0.7.1 is greater than 0. This error is then followed by another error: "Could not retrieve puppetversion: Cannot determine basic system flavour" But this might be because of the first error. The exact same setup works fine on Windows 2003 SP2, so it must be something XP specific. Has anyone seen this behaviour? Any ideas on a fix? -- 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.
Josh Cooper
2012-Jan-01 23:29 UTC
Re: [Puppet Users] puppet 2.7.9 on Windows XP fails with "win32-service(0.7.1 not >= 0)"
Hi Roy, On Sat, Dec 31, 2011 at 8:32 AM, royhills <royhills@gmail.com> wrote:> I know XP isn''t officially supported, but this looks like a trivial > problem that could be easily fixed. > > I''m running puppet 2.7.9 and facter 1.6.4 on Windows XP SP3 with ruby > 1.8.7 p357 >Try using ruby 1.8.7 patchlevel 334, I''ve seen similar problems with later versions. Josh -- Josh Cooper Developer, Puppet Labs -- 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.
royhills
2012-Jan-02 11:03 UTC
[Puppet Users] Re: puppet 2.7.9 on Windows XP fails with "win32-service(0.7.1 not >= 0)"
> Try using ruby 1.8.7 patchlevel 334, I''ve seen similar problems with later > versions.Yes, that solves the problem. Thanks. I''m surprised that even differences in the ruby patch level matter. I''d read the puppet windows wiki, which mentions ruby 1.8.7 p334, but had assumed that meant version 1.8.7 patch level >= 334. Oh well, I know better now. It might be worth adding some text to the windows wiki saying something like "You MUST be running Ruby 1.8.7, patchlevel 334 (even the patch level matters, we''ve seen problems with later versions)" to prevent others making the same mistake. Roy -- 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.