AW: [Puppet Users] Solaris Package for 0.25

2009-09-07 Thread sven.thomas
Hi Gary, thanks for the solaris package! Some questions: At which point will 0.25 be available in the current/unstable tree? Also, is anyone creating packages for Sol8 and 10? We are still at 0.24.7 here (in /current)...which is still better than anything seen on debian for example (0.24.5!) :

[Puppet Users] Pattern matching in case statement

2009-01-16 Thread sven.thomas
Hi all, I need my servers to decide which network they are in (i.e. dmz), and the only clue is the servers IP-address. I was trying to accomplish it like this, but it doesn't work: case $ipaddress { "10.1.1.*": { $network = "net1" } "10.2.2.*.*": { $netw

[Puppet Users] Pattern matching in case statement

2009-01-19 Thread sven.thomas
Hi all, I need my servers to decide which network they are in (i.e. dmz), and the only clue is the servers IP-address. I was trying to accomplish it like this, but it doesn't work: case $ipaddress { "10.1.1.*": { $network = "net1" } "10.2.2.*.*": { $netw

[Puppet Users] Re: Pattern matching in case statement

2009-01-21 Thread sven.thomas
Thank you for your input! I solved it like this in then end: Facter.add("netenv") do setcode do begin Facter.ipaddress rescue Facter.loadfacts() end distid = Facter.value('ipaddress') if distid.match(/10.1.1.|172./) n