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

Puppet: Disable/Enable Agent #49323

Open
pioto opened this Issue Nov 29, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@pioto

pioto commented Nov 29, 2018

SUMMARY

When using Ansible and Puppet in conjunction, it is possible for one to "step on" the other.

To avoid Puppet interfering with a running Ansible playbook, it would be helpful if there was support for specifically running:

puppet agent --disable "Doing Blah"

and, when done, run:

puppet agent --enable

It'd be "nice to have" for this to be part of the puppet module, rather than using raw commands, as it can be idempotent.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

puppet

ADDITIONAL INFORMATION

I'd see this working in a playbook something like this:

- name: Disable Puppet
  puppet:
    enabled: no
    message: Doing Blah
- name: Upgrade Stuff
  yum: '....'
- name: Enable Puppet
  puppet:
    enabled: yes
@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 29, 2018

Hi @pioto, thank you for submitting this issue!

click here for bot help

@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 29, 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

This comment has been minimized.

Contributor

ansibot commented Nov 29, 2018

@sivel

This comment has been minimized.

Member

sivel commented Dec 4, 2018

!component =lib/ansible/modules/system/puppet.py

@samdoran samdoran removed the needs_triage label Dec 4, 2018

@ansibot

This comment has been minimized.

Contributor

ansibot commented Dec 4, 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 ansibot removed the support:core label Dec 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment