Project

General

Profile

Actions

Bug #8434

closed

Bug #7100: Launching twice in a row a disabled agent make the agent runs

Syntaxt error in promise.st

Added by François ARMAND almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

A syntax error was introduced by the correction of #7100, in commit:483b6c97
techniques/system/common/1.0/promises.st, ligne ~224

bundle agent check_disable_agent
{
  vars:
      "components" slist => { "cf-serverd", "cf-execd", "cf-monitord" };

  classes:
      "should_disable_agent" expression => fileexists("${g.rudder_disable_agent_file}"),
                             action     => immediate;

      # Only define this class when we're ready to die - this is a special class name in "abortclasses" 
      "should_not_continue" 
        expression => "should_disable_agent",
        ifvarclass => "abort_report_done";  <======================= should be "," 
        action     => immediate;
Actions

Also available in: Atom PDF