Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Puppet: Disable/Enable Agent #49323
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:
and, when done, run:
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.
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