Project

General

Profile

Actions

User story #2884

closed

File to disable rudder-agent on a node

Added by Jonathan CLARKE about 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
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:
  1. The CFEngine policy checks the cf-execd and cf-serverd processes and starts them if they're not running
  2. 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.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #2792: During a migration from 2.3.8 to 2.4.0~beta3, rudder-agent postinst can display some errors when copying CFEngine binariesReleasedJonathan CLARKE2012-08-09Actions
Actions

Also available in: Atom PDF