Skip to content

Unable to run task os_patching::patch_server Windows 2012r2 with puppet enterprise agent 6.4.2 #133

Description

@rigareau

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.4.2
  • Ruby:
  • Distribution:
  • Module version: 0.11.1

How to reproduce (e.g Puppet code you use)

From the puppet master
puppet-task run os_patching::patch_server --nodes demowin2k12.my.domain

What are you seeing

Starting job ...
Note: The task will run only on permitted nodes.
New job ID: 46
Nodes: 1

Started on demowin2k12.my.domain ...
Failed on demowin2k12.my.domain
Error: Task exited 1:
C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require': cannot load such file -- win32/eventlog (LoadError) from C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
from C:/ProgramData/PuppetLabs/pxp-agent/var/spool/46/temp_task_9f29-8932-45a1-7bd5/os_patching/tasks/patch_server.rb:6:in initialize' from C:/ProgramData/PuppetLabs/pxp-agent/var/spool/46/temp_task_9f29-8932-45a1-7bd5/os_patching/tasks/patch_server.rb:63:in new'
from C:/ProgramData/PuppetLabs/pxp-agent/var/spool/46/temp_task_9f29-8932-45a1-7bd5/os_patching/tasks/patch_server.rb:63:in `

'

Job failed. 1 node failed, 0 nodes skipped, 0 nodes succeeded.
Duration: 20 sec

What behaviour did you expect instead

Task completed successfully

Output log

Any additional information you'd like to impart

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions