I just found out that ${this.promiser} is not resolved in comments whereas $(this.promiser) is
files:
any::
"${tmpdirs}"
handle => "fix_tmp_dirs",
comment => "Fix permissions of tmpdir $(this.promiser)",
perms => m("1777");
"${tmpdirs}"
handle => "fix_tmp_dirs",
comment => "Fix permissions of tmpdir ${this.promiser}",
perms => m("1777");
cf3> .........................................................
cf3> Promise handle: fix_tmp_dirs
cf3> Promise made by: /var/tmp
cf3>
cf3> Comment: Fix permissions of tmpdir ${this.promiser}
cf3> .........................................................
cf3>
cf3> -> Using literal pathtype for /var/tmp
cf3> -> Handling file existence constraints on /var/tmp
cf3> -> File permissions on /var/tmp as promised
cf3> -> Handling file existence constraints on /var/tmp
cf3> -> File permissions on /var/tmp as promised
cf3>
cf3> .........................................................
cf3> Promise handle: fix_tmp_dirs
cf3> Promise made by: /var/tmp
cf3>
cf3> Comment: Fix permissions of tmpdir /var/tmp
cf3> .........................................................
cf3>
cf3> -> Using literal pathtype for /var/tmp
cf3> -> Handling file existence constraints on /var/tmp
cf3> -> File permissions on /var/tmp as promised
cf3> -> Handling file existence constraints on /var/tmp
cf3> -> File permissions on /var/tmp as promised
Is that by design or is it a bug?
Cheers,
Sven
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine