[PUP-3126] Update win32-service gem to 0.8.6+ Created: 2014/08/21  Updated: 2018/04/03  Resolved: 2014/10/03

Status: Closed
Project: Puppet
Component/s: None
Affects Version/s: PUP 3.7.0
Fix Version/s: PUP 3.7.2

Type: Task Priority: Normal
Reporter: redmine.exporter Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relates to PUP-3008 Already initialized constant warning ... Closed
relates to PUP-1283 Update win32-service gem Closed
relates to PUP-2987 Puppet service hangs when attempting ... Closed
relates to PUP-4390 Regression: Windows service provider ... Closed
Story Points: 1
Sprint: Week 2014-6-25 to 2014-7-9, Platform 2014-10-15
QA Contact: Eric Thompson


A new version of the win32-service gem has come out that incorporates the changes for https://github.com/djberg96/win32-service/pull/18, https://github.com/djberg96/win32-service/pull/19, and https://github.com/djberg96/win32-service/issues/22. We are vendoring patches now in the puppet-win32-ruby repository, so those will need to be cleaned up as part of migrating to the latest gem dependency.

Comment by Michael Smith [ 2014/08/21 ]

Version 0.8.6 also addresses PUP-3008, so that patch can also be removed.

Comment by Josh Cooper [ 2014/09/09 ]

Bumping to 4.0

Comment by Rob Reynolds [ 2014/09/29 ]

We can do this in a dot release. The changes have been verified to only include our patches.

Comment by Rob Reynolds [ 2014/09/29 ]

Puppet-win32-ruby pull requests will be up soon.

Comment by Rob Reynolds [ 2014/09/29 ]

The new version incorporates fixes from PUP-1283, PUP-2987, and PUP-3008

Comment by Josh Cooper [ 2014/09/30 ]

Merged to stable in b8b054c39 to be released in 3.7.2

Comment by Josh Cooper [ 2014/09/30 ]

Merged 1.9.3-x86 in https://github.com/puppetlabs/puppet-win32-ruby/commit/cbe94f4cafb0f78d587e8addcf723bc671af7cca
Merged 2.0.0-x64 in https://github.com/puppetlabs/puppet-win32-ruby/commit/417378f607340d211fbfef89a96e6639bef1bfb1

Comment by Josh Cooper [ 2014/09/30 ]

Updated build_defaults.yaml in https://github.com/puppetlabs/puppet/commit/96355a1

Comment by Eric Thompson [ 2014/10/03 ]

Josh Cooper after installing w/ 32bit MSI:

PS C:\Users\Administrator> gem list
*** LOCAL GEMS ***
bigdecimal (1.2.4)
io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.1.0)
rdoc (4.1.0)
test-unit (

Comment by Rob Reynolds [ 2014/10/03 ]

Eric Thompson You might be looking at local gems, not the gems that come with our vendored ruby.


PS c:\> cmd.exe
c:\>gem list

Comment by Eric Thompson [ 2014/10/03 ]

yep. that works. verified at SHA g35c3caa in win2012 with both 32 and 64 bit installers

Generated at Wed Jul 15 11:29:06 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.