Actions
User story #2884
closedFile to disable rudder-agent on a node
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
Currently, it's pretty damn hard to stop rudder-agent (cf-agent) on a node if you want to, because:
- The CFEngine policy checks the cf-execd and cf-serverd processes and starts them if they're not running
- A cron job runs every 5 minutes to check that cf-execd is running and starts it if not
Some times, we want to stop cf-agent for a good reason (ie, running a test, or during an upgrade like in #2792).
It would be good to be able to touch a file that would just disable all these checks, for example /opt/rudder/etc/disable-agent.
Actions