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 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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 #1

Updated by François ARMAND almost 5 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #2

Updated by François ARMAND almost 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/963
Actions #3

Updated by François ARMAND almost 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #4

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.22, 3.0.17, 3.1.11 and 3.2.4 which were released today.

Actions

Also available in: Atom PDF