Don't mean to be annoying, but i kind of ran out of ideas. If anyone can help it would be appreciated. If not, i have to look for another (ugly) solution.
thanks, S. On Thu, Oct 23, 2008 at 3:11 PM, Sebastian Vieira <[EMAIL PROTECTED]>wrote: > Hi, > > I'm having difficulty letting a service start automaticly. The problem > that's occurring is with just one class/service. I have made other classes > and service definitions in it who are all working fine. Here's the class i > use for auditd: > > class audit { > > package { > "audit": > ensure => present, > } > > remotefile { > "/etc/audit/auditd.conf": > mode => 640, > source => "apps/audit/auditd.conf", > require => Package["audit"], > } > > service { > "auditd": > ensure => running, > enable => true, > hasrestart => true, > subscribe => File["/etc/audit/auditd.conf"], > require => Package["audit"], > } > > } > > The package gets installed, but if the file (/etc/audit/auditd.conf) > already exists, the service isn't being restarted. If i delete the file and > run puppetd again, the service is started right after the file is created. > > Before this, i didn't even had the service subscribe to a file, thinking > this caused the problem. > > I'm using puppet version 0.24.5 > > kind regards, > > Sebastian. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---