help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Am I reinventing the wheel and possibly building a flat?


From: Brendan Strejcek
Subject: Re: Am I reinventing the wheel and possibly building a flat?
Date: Tue, 7 Dec 2004 15:45:35 -0600
User-agent: Mutt/1.5.6+20040818i

Generally cfengine solves problems like this by relying on cached data
in /var/cfengine rather than the network directly. So, you could make
sure update.conf copies over a data file with the DNS info you care
about, and then your module could parse that. If the network goes down,
cfagent will continue to configure the machine according to the last
data it got.

If you don't want to rewrite update.conf, you can just create a
subdirectory under inputs and put stuff like that in there, since most
sites recursively copy over modules and inputs.

Clif Smith wrote:

> I'm just starting to build out my cfengine environment and am trying
> to deal with multiple domains. So, 1) being that a newly built system
> might not know it's domain, 2) I have quite a few subnets and domains,
> I'm calling a script in cfagent.conf to grab the domain via DNS. What
> would happen if there was a problem with the network and it can't
> reach a DNS server? What's the better way to handle this?
>
>
> _______________________________________________
> Help-cfengine mailing list address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]