On Wed, Jan 04, 2012 at 03:12:17PM +0100, davidlee said:

>   commands:
>     ### If a file was adjusted above, run a command:
>     optional_class::
>       "/sbin/service my_service restart"
>         ifvarclass => "class_indicating_file_change";

Is there any particular reason to use the above syntax, rather than

   commands:
     ### If a file was adjusted above, run a command:
   class_indicating_file_change::
       "/sbin/service my_service restart"

?  Both seem to work, is one or the other is considered more kosher?

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

Reply via email to