Can't seem to get this to work. I read in the language tutorial that this was something introduced in 0.24.6. Upgraded both server and client to 0.24.6. I keep getting this error:
err: Syntax error at '=='; expected '}' at /etc/puppet/modules/ntp/ manifests/init.pp:3 on node class ntp { if $server == "appserver" { file { "/etc/ntp.conf": # source => "puppet:///ntp/ntp.conf", mode => "755", owner => "root", group => "root", ensure => present, content => template("template/ntp.server.conf"), notify => Service["ntp"] } } else { file { "/etc/ntp.conf": # source => "puppet:///ntp/ntp.conf", mode => "755", owner => "root", group => "root", ensure => present, content => template("template/ntp.client.conf"), notify => Service["ntp"] } } service {"ntp": provider => "init", ensure => "running", hasstatus => "true" } } --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---