Project

General

Profile

Actions

Bug #9990

closed

User story #9707: Add a Relay API: share files between nodes, launch run on remote run behind relay

Broken remote run in 4.1

Added by Alexis Mousset over 7 years ago. Updated about 7 years ago.

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

Description

CFEngine 3.9 changelog: - cfruncommand is not executed under shell. (Redmine #7409)

    !windows::
      "$(def.cf_runagent_shell)" 
      handle => "server_access_grant_access_shell_cmd",
      comment => "Grant access to shell for cfruncommand",
      admit => { @(def.policy_servers) };

    solaris::
      "cf_runagent_shell" 
        string  => "/usr/bin/sh",
        comment => "Define path to shell used by cf-runagent",
        handle  => "common_def_vars_solaris_cf_runagent_shell";

    !(windows|solaris)::
      "cf_runagent_shell" 
        string  => "/bin/sh",
        comment => "Define path to shell used by cf-runagent",
        handle  => "common_def_vars_cf_runagent_shell";

    windows::
      cfruncommand => "$(sys.cf_agent) -I -D cfruncommand -f \"$(sys.update_policy_path)\"  &
                       $(sys.cf_agent) -I -D cfruncommand";

    !windows::
      # last single quote in cfruncommand is left open, so that
      # arguments (like -K and --remote-bundles) are properly appended.
      cfruncommand => "$(def.cf_runagent_shell) -c \'
                           $(sys.cf_agent) -I -D cfruncommand -f $(sys.update_policy_path)  ;
                           $(sys.cf_agent) -I -D cfruncommand";


Subtasks 1 (0 open1 closed)

Bug #9991: Syntax error in parent ticketReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF