On Thu, Jan 15, 2009 at 04:37:53PM -0000, sven.tho...@bt.com wrote: > 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.*.*": {
That's 5 segments. -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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 -~----------~----~----~----~------~----~------~--~---