Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The puppet module should support a parameter to enable --debug mode during the puppet run #37986

Closed
harshalx opened this issue Mar 27, 2018 · 4 comments · Fixed by #42218
Closed
Labels
affects_2.3 This issue/PR affects Ansible v2.3 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community.

Comments

@harshalx
Copy link

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

puppet

ANSIBLE VERSION
ansible 2.3.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Nov  6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

SUMMARY

The puppet ansible module should also enable a parameter which can turn on debug mode.

STEPS TO REPRODUCE
EXPECTED RESULTS

There are times when you want to see the output of the puppet run on the target server while ansible is running puppet through the puppet module. There is no way currently you can do that as that parameter is not supported by the ansible puppet module.

ACTUAL RESULTS
There is no parameter to enable the debug mode. 
@ansibot
Copy link
Contributor

ansibot commented Mar 27, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Mar 27, 2018

@ansibot ansibot added affects_2.3 This issue/PR affects Ansible v2.3 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. labels Mar 27, 2018
@bcoca
Copy link
Member

bcoca commented Mar 27, 2018

Or it should just activate it when ansible itself is in debug mode.

@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label Mar 27, 2018
@harshalx
Copy link
Author

harshalx commented Mar 28, 2018

bcoca,
Not really. I'd like to see a parameter to the module itself, which, if enabled will run puppet on the target node with --debug switch on.

jillr added a commit to jillr/ansible that referenced this issue Jul 2, 2018
Add support for puppet options --debug, --verbose, --summary,
and extend logdest to support logging to stdout and syslog at
the same time.

Fixes issue: ansible#37986
samdoran pushed a commit that referenced this issue Jul 6, 2018
* Add additional puppet options

Add support for puppet options --debug, --verbose, --summary,
and extend logdest to support logging to stdout and syslog at
the same time.

Fixes issue: #37986

* Fix docs

* Doc fix, add release note

* Fix silly yaml error

* Correct changelog, add C() to params in doc
@ansible ansible locked and limited conversation to collaborators Jul 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.3 This issue/PR affects Ansible v2.3 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants