It's usually much easier to use DHCP for desktops, and some servers.  Also, the 
computer will (usually) need an ip address before the first puppet run.

On May 22, 2010, at 1:59 PM, andreash wrote:

> Hi,
> 
> thanks for your input. I had already thought about that, but initially
> wanted to be able to set the ip addresses using puppet. Or is that a
> bad idea?
> 
> Cheers,
> 
> Andreas.
> 
> On 22 Mai, 20:42, Benoit Cattié <pup...@benoit.cattie.net> wrote:
>> Hi,
>> 
>> You can get the ipadress with facter (and use it in your puppet classes,
>> templates ...)
>> 
>> Benoit
>> 
>> Le 22/05/2010 11:08, andreash a écrit :
>> 
>> 
>> 
>>> Hi,
>> 
>>> naturally, there are many places in a typical puppet manifest where
>>> one needs to use IP addresses:
>> 
>>> * network config
>>> * Listen directives in server daemons
>>> * hosts file
>>> * ...
>> 
>>> I was wondering if there is some 'best practice' way of specifying the
>>> IP addresses of all the hosts in one place and then using these
>>> variables whenever necessary? (BTW, are there global variables in
>>> puppet?)
>> 
>>> Thanks for your insight,
>> 
>>> Andreas
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To post to this group, send email to puppet-us...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group 
>> athttp://groups.google.com/group/puppet-users?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to