Add module parameter to control Puppet agent noop switch (#43678)
Add module parameter to control Puppet agent noop switch (#43678)

* Puppet agent noop switch

    Add module parameter to control noop switch

    Current module overrides puppet.conf noop setting by forcing '--no-noop' switch  which may not be expected or desired.

    Add parameter to allow user control.

    noop: Undefined - Use agent configuration
    noop: true - Add --noop switch to cmd
    noop: false - Add --no-noop switch to cmd

Ansible check mode always runs with --noop switch

* Update lib/ansible/modules/system/puppet.py

Co-Authored-By: matonb <3380b4962bf2f956b29cd14074532d1ba3ae52ae@ltresources.co.uk>
Co-Authored-By: matonb <3380b4962bf2f956b29cd14074532d1ba3ae52ae@ltresources.co.uk>
Co-Authored-By: matonb <3380b4962bf2f956b29cd14074532d1ba3ae52ae@ltresources.co.uk>

thaim/ansible,thaim/ansible