Details
-
Type:
Task
-
Status: Open
-
Priority:
High
-
Resolution: Unresolved
-
Affects Version/s: 3.17.0
-
Fix Version/s: None
-
Component/s: cf-agent
-
Labels:
-
Story Points:5
-
Epic Link:
Description
I expected commands promises tagged with simulate_safe to be executed, but I found they are always skipped.
bundle agent main { commands: "/bin/echo Commands only run if tagged simulate_safe"; "/bin/echo Commands only run if tagged simulate_safe, like this" meta => { "simulate_safe" }; }
[root@hub ~]# cf-agent -KIf ./simulate_commands.cf --simulate manifest warning: All changes in files will be made in the '/var/cfengine/state/7135.changes' chroot info: Executing 'no timeout' ... '/bin/echo Commands only run if tagged simulate_safe' warning: Would execute script '/bin/echo Commands only run if tagged simulate_safe' info: Executing 'no timeout' ... '/bin/echo Commands only run if tagged simulate_safe, like this' warning: Would execute script '/bin/echo Commands only run if tagged simulate_safe, like this' info: No changed files to manifest [root@hub ~]# cf-agent -KIf ./simulate_commands.cf --simulate diff warning: All changes in files will be made in the '/var/cfengine/state/7182.changes' chroot info: Executing 'no timeout' ... '/bin/echo Commands only run if tagged simulate_safe' warning: Would execute script '/bin/echo Commands only run if tagged simulate_safe' info: Executing 'no timeout' ... '/bin/echo Commands only run if tagged simulate_safe, like this' warning: Would execute script '/bin/echo Commands only run if tagged simulate_safe, like this' info: No changed files to show diff for