Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-3008

Already initialized constant warning when running puppet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: PUP 3.7.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      2
    • Sprint:
      2014-08-20

      Description

      C:\Windows\system32>puppet agent -t
      C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.6.1/lib/win32/windows/constants.rb:26: warning: already initialized constant ERROR_INSUFFICIENT_BUFFER
      C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.6.1/lib/win32/windows/constants.rb:31: warning: already initialized constant INFINITE
      C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.6.1/lib/win32/windows/constants.rb:32: warning: already initialized constant WAIT_FAILED
      C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.6.1/lib/win32/windows/constants.rb:52: warning: already initialized constant FORMAT_MESSAGE_IGNORE_INSERTS
      

      The issue is that these constants are defined in multiple win32 gems, but are not namespaced to avoid collisions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rob Rob Reynolds
                Reporter:
                josh Josh Cooper
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support