Hi there, we have a mixed deployment of sarge, etch and now lenny servers.
The first example works: case $lsbdistcodename { sarge: { package { ntp: ensure => present } } default: { package { ntp: ensure => absent } } } This does not: package { ntp: case $lsbdistcodename { sarge: { ensure => present } default: { ensure => absent } } I prefer the second one but cannot fathom why the syntax is wrong. They seem functionally identical and I'm sure I have enough {}'s and in the right places... 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 -~----------~----~----~----~------~----~------~--~---