mcollective-plugins icon indicating copy to clipboard operation
mcollective-plugins copied to clipboard

For issue http://projects.puppetlabs.com/issues/15192

Open haiwu opened this issue 12 years ago • 4 comments

This is for issue http://projects.puppetlabs.com/issues/15192, to support both noop and no-noop modes.

haiwu avatar Jun 24 '12 20:06 haiwu

Thanks, we'll need to update the DDL too else you wouldnt be able to send those arguments in later versions

ripienaar avatar Jun 24 '12 20:06 ripienaar

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

haiwu avatar Jun 25 '12 07:06 haiwu

Should probably make that :boolean, anyway will have to see how you are calling it from the cli

ripienaar avatar Jun 25 '12 08:06 ripienaar

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

puppetcla avatar Jul 10 '13 21:07 puppetcla