Hi,

I think I'm misunderstanding how action_policy => "warn" is supposed to 
work. Consider the following example:

bundle agent test {
files:
   "/foo/."
     create => "true",
     action => warn_only;
}
body action warn_only
{
action_policy => "warn";
}

When I run this, the directory is created despite the setting of 
action_policy (I have also tried "nop").

My understanding of the documentation is that action_policy => "warn" 
should disable the actual fixing of the promise, and just warn about it. 
Is this wrong?

Thanks,
--Diego

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to