[Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-25 Thread DWIM
On May 22, 8:42 pm, Benoit Cattié pup...@benoit.cattie.net wrote: Hi, You can get the ipadress with facter (and use it in your puppet classes, templates ...) That was what I also had in mind first when I needed to specify a host's IP address as bind address in some xinetd spawned server's

Re: [Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-25 Thread Daniel Pittman
DWIM ralph.gro...@itdz-berlin.de writes: On May 22, 8:42 pm, Benoit Cattié pup...@benoit.cattie.net wrote: You can get the ipadress with facter (and use it in your puppet classes, templates ...) That was what I also had in mind first when I needed to specify a host's IP address as bind

Re: [Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-25 Thread Joe McDonagh
On 05/23/2010 10:08 AM, andreash wrote: Hi, I think the idea with the static DHCP leases is a good one :) But even then, wouldn't I want to set the DHCP config via puppet, so I would need to define all the IPs inside puppet? Cheers, Andreas. On 23 Mai, 15:50, Joe McDonagh

Re: [Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-23 Thread Joe McDonagh
On 05/22/2010 04: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? Hi, you should probably use DHCP static leases, but in situations where you can't, it is

[Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-23 Thread andreash
Hi, I think the idea with the static DHCP leases is a good one :) But even then, wouldn't I want to set the DHCP config via puppet, so I would need to define all the IPs inside puppet? Cheers, Andreas. On 23 Mai, 15:50, Joe McDonagh joseph.e.mcdon...@gmail.com wrote: On 05/22/2010 04:59 PM,

[Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-22 Thread andreash
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

Re: [Puppet Users] Re: Best-practice way of handling IP addresses

2010-05-22 Thread Patrick
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