Hello,

I'm trying to do this:

   service { monit:
      ensure => running,
      enable => true,
      hasrestart => true,
      if ($operatingsystem == 'centos') {
         hasstatus => true,
      },
      require => Package['monit'],
      subscribe => File['monit.conf'],
   }

And it doesn't work in 24.6. Perhaps setting the variable outside will
be better. In 0.24.7, the error is a bit worse. Instead of an error,
the class is unfindable. :)

Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to