On Tue, May 17, 2011 at 5:07 AM, Nicolas Charles
<nicolas.char...@normation.com> wrote:
> On 13/05/2011 09:42, Aleksey Tsalolikhin wrote:
>> Sorry,  I don't recall seeing this in any of the documentation
>> I've read so far, but are my promises supposed to go into
>> site.cf?   Is that right?  Sorry, I just haven't seen it mentioned
>> anywhere and it seems important, I want to make sure I get
>> it right.
>>
>>
>> I've made this little table of what each file is:
>>
>>
>> promises.cf           the default config file.
>>                        uses cfengine_stdlib.cf
>>                        has site.cf as an input
>>
>> cfengine_stdlib.cf    library
>>
>> failsafe.cf           failsafe config - calls update.cf if
>>                        promises.cf is bad
>>
>> update.cf             promises to refresh /var/cfengine/inputs
>>                        from /var/cfengine/masterfiles; and
>>                        /var/cfengine/bin from /usr/local/sbin/cf-*
>>
>> site.cf               called by promises.cf.  site-specific
>>                        configuration - resolver configuration,
>>                        access control, and local promises.
>>
>>
> I usually use site.cf to set classes and variables based on the machines
> characteristics, but I don't put any promises in it. It's more like an
> configuration file.
> Maybe others behave differently

So do you put your local promises in promises.cf then, Nicolas?

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

Reply via email to