On Jan 19, 2007, at 5:44 AM, Csillag Tamas wrote:
> On 01/19, Lluis Gili wrote:
>> Hello all,
>> when I do a signature request to puppetmaster, if no domainname is
>> configured then puppet gets it from /etc/resolv.conf. Even if the
>> "search" line is commented. I had to delete the search line
in
>> resolv.conf to obtain a signature request with hostname only, and
>> then
>> it appears with a final dot (hostname.). Is it that puppet does
>> not like
>> being domainless ?
>> Many of my pc''s don''t have a domain and I prefer to
send only a
>> hostname
>> to identify them on puppetmaster, it''s a bad idea to do it
this way?
>
> Hi,
>
> Well I am quite new to puppet so I do not know the answer for the
> puppet
> related part of the question, but I think this is not a puppet-only
> question. Other programs will brake too (if not already).
> I just recommend you to create a fake domain like:
> .lan
> .1
> .internal
>
> So it will look like: somehost.1
Hmm. There''s no technical reason why Puppet should require a domain
name on its own, so I would consider this a bug, I guess, but I agree
with Csillag that this is not a good idea. I definitely recommend
setting a domain name somewhere.
Frankly, though, if Puppet is collecting a domain name that you''re
not using, then just ignore it. Puppet''s not using the domain name
either, except in the certs, so you can safely ignore it.
--
There is nothing worse than aggressive stupidity.
-- Johann Wolfgang von Goethe
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com