You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'onlyif' (file: /etc/puppetlabs/code/environments/brian_test/modules/docker/manifests/service.pp, line: 506) on Reboot[pending_reboot] (file: /etc/puppetlabs/code/environments/brian_test/modules/docker/manifests/service.pp, line: 506) on node
My module that uses puppetlabs/docker (which uses puppetlabs/reboot) is passing unit testing with 100% code coverage, but actual testing (canary testing, thanks CrowdStrike for the name) is failing with the above error.
Expected Behavior
To accept the onlyif parameter
Steps to Reproduce
Steps to reproduce the behavior:
Use the puppetlabs/docker module on Windows 2019
Deploy the module on a fresh install where the docker module manages everything.
Confirm that the windows.rb from this module is being deployed to the host, along with manifests/service.pp which uses the reboot provider.
Environment
Windows 2019 server
Puppet server and agent 7.31.0
mod 'puppetlabs/docker', :latest (10.0.1)
mod 'puppetlabs/pwshlib', :latest (1.1.1)
mod 'puppetlabs/reboot', :latest (5.0.0)
mod 'puppetlabs/registry', :latest (5.0.1)
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Possible bug when being used with puppetlabs/docker
puppetlabs/puppetlabs-docker#987
Specifically with the file: manifests/service.pp#506
Error:
My module that uses puppetlabs/docker (which uses puppetlabs/reboot) is passing unit testing with 100% code coverage, but actual testing (canary testing, thanks CrowdStrike for the name) is failing with the above error.
Expected Behavior
To accept the
onlyif
parameterSteps to Reproduce
Steps to reproduce the behavior:
windows.rb
from this module is being deployed to the host, along withmanifests/service.pp
which uses the reboot provider.Environment
mod 'puppetlabs/docker', :latest
(10.0.1)mod 'puppetlabs/pwshlib', :latest
(1.1.1)mod 'puppetlabs/reboot', :latest
(5.0.0)mod 'puppetlabs/registry', :latest
(5.0.1)Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: