[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does cfengine figure out the domainname?
From: |
Doug J Nordwall |
Subject: |
Re: How does cfengine figure out the domainname? |
Date: |
Tue, 20 Aug 2002 07:39:11 -0700 |
reading the code, I figured out that it does check uname through a
function call.
Could you elaborate on the "various methods"?
And it sounds like I could put the domain variable in a file somewhere
an import that into cfengine.
Suddenly, after having to deal with scali, as well as cfengine, and
having a sister in Norway (married a Norweigan) I feel the need to move
on to Oslo time.
On Tue, 2002-08-20 at 07:10, Mark.Burgess@iu.hio.no wrote:
>
> It tries various methods, but eventually settles on what you define
> in the domain variabe. It's a bit of a chicken and egg situation
> with domain names,
>
> M
>
> On 19 Aug, Doug J Nordwall wrote:
> > I have a raft of machines that do not have dns domain names. That is to
> > say, they are in a domain, but they don't return FQDNs when you type in
> > hostname. They are of varying architecture (mostly sun, linux, and
> > irix). FOr all of them, cfengine returns an undefined domain. I'm
> > curious to know how cfengine determines domain names. Does it just take
> > the last part of the FQDN? I've been reading the code, but I'll freely
> > admit, I'm not a programmer, although I took many courses in college :)
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
> Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
--
Douglas J Nordwall http://rex.nmhu.edu/~musashi
System Administrator Pacific Northwest National Labs