I have a class irqbalance with a service defined and it does not work as
expected and thats why I am asking for advice.

service { 'irqbalance':
      ensure => running,
      enable => true,
      require => Package['irqbalance'],
}

$ puppetd --test
does start the service (expected)

$ puppetd --test --tags irqbalance
*does not* start the service (unexpected)
why is this?

If I change the service (added hasstatus) to

service { 'irqbalance':
      ensure => running,
      enable => true,
      hasstatus => true,
      require => Package['irqbalance'],
}

$ puppetd --test --tags irqbalance
*does* start the service (expected)
-- 
Kind Regards, Markus Falb

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to