Forum: CFEngine Help
Subject: Re: [ANNOUNCE] CFEngine Community 3.4.0beta2 is released
Author: [email protected]
Link to topic: https://cfengine.com/forum/read.php?3,27604,27616#msg-27616
On comments vs handles thing -- I dont think comments show up in the output of
verbose execution, which is why I use handles to document my policies. This
way, when I run a policy in verbose, I can see exactly what is going on and
where.
# grep comment configure_etc_motd.cf
comment => "populate empty file",
comment => "Replace a place-marker with the name
of this host",
comment => "Replace a place-marker with the
current time",
# /var/cfengine/bin/cf-agent -b configure_etc_motd -v 2>&1 | grep "populate
empty file"
#
So by using handle as a "comment" serves two functions for us then... It gives
us an idea of whats going on with the promise, and is also used for debugging
policy issues.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine