Avi Miller wrote: > Steve Wray wrote: >> I prefer the second one but cannot fathom why the syntax is wrong. > > Inline syntax is a little different: > > package { ntp: > ensure => $lsbdistcodename ? { > sarge => present, > default => absent, > }, > } > > Hope that helps, > Avi
Ohh I see :) Thanks! > > > -- Please remember that an email is just like a postcard; it is not confidential nor private nor secure and can be read by many other people than the intended recipient. A postcard can be read by anyone at the mail sorting office and expecting what is written on it to be private and secret is not realistic. Please hold no higher expectation of email. If you need to send confidential information in an email you need to use encryption. PGP is Pretty good for this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---