Closed yachub closed 3 years ago
@yachub thanks for the bug report, I'll take a look. It seems that the way the package is declared:
package { 'java':
ensure => $version,
install_options => $package_options,
name => $use_java_package_name,
}
is causing it to evade the existing package detection somehow.
@yachub fixed in #33 which is now released as v0.7.3 on the Puppet Forge
Thanks for providing the module, it's working really well so far except for one small issue that I'm having trouble pinpointing.
Describe the Bug
The patching_as_code module is unable to
ensure => latest
on the packageopenjdk-7-jre-headless
due to a duplicate resource declaration.Expected Behavior
The patching_as_code module should
ensure => latest
and be able to update the java package.Steps to Reproduce
Steps to reproduce the behavior:
patching_as_code::patch_group
.patching_as_code::patch_schedule
, every puppet run results in the following error:Environment
Additional Context
Oddly it seems like this issue should not be occurring since the java module declares the package resource as present and the patching_as_code module should be changing it to latest.