Maybe I'm missing something. This doesn't work either:
case $operatingsystem {
'centos': { $hasstatus = 'true' }
'fedora': { $hasstatus = 'true' }
'default': { $hasstatus = 'false' }
}
service { 'monit':
ensure => running,
enable => true,
hasrestart => true,
hasstatus => $hasstatus,
require => Package['monit'],
subscribe => File['monit.conf'],
}
warning: Configuration could not be instantiated: Parameter hasstatus
failed: interning empty string
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---