mcollective-plugins
mcollective-plugins copied to clipboard
For issue http://projects.puppetlabs.com/issues/15192
This is for issue http://projects.puppetlabs.com/issues/15192, to support both noop and no-noop modes.
Thanks, we'll need to update the DDL too else you wouldnt be able to send those arguments in later versions
I am not sure why this is not working:
After uncomment-ing the following lines in file 'puppetd.ddl', every time when I run "mco puppetd runonce -I hostname", it would fail with message "puppetd failed to run: Input forcerun should be a string (MCollective::DDLValidationError)", even though input "forcerun" is marked as "optional" ..
input :forcerun,
:prompt => "Force puppet run",
:description => "Should the puppet run happen immediately?",
:type => :string,
:validation => '^.+$',
:optional => true,
:maxlength => 5
Should probably make that :boolean, anyway will have to see how you are calling it from the cli
Waiting for CLA signature by @haiwu
@haiwu - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppetlabs.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppetlabs.com/community/trivial_patch_exemption.html