Fixed mythorphans cron job.

This commit is contained in:
Timo Mkinen 2012-09-26 11:40:18 +03:00
parent c2f798eed9
commit 89d38844d3
3 changed files with 306 additions and 4 deletions

View file

@ -118,11 +118,19 @@ class mythtv::backend {
}
file { "/etc/cron.daily/mythorphans":
ensure => present,
source => "puppet:///modules/mythtv/mythorphans",
mode => "0755",
owner => "root",
group => "root",
require => File["/usr/local/bin/myth.find_orphans.pl"],
}
file { "/usr/local/bin/myth.find_orphans.pl":
ensure => present,
source => "puppet:///modules/mythtv/mythorphans",
source => "puppet:///modules/mythtv/myth.find_orphans.pl",
mode => "0755",
owner => root,
group => root,
owner => "root",
group => "root",
}
}