Added cron job for running myth.find_orphans.pl into mythtv::backend.

This commit is contained in:
Timo Mkinen 2009-10-08 21:09:32 +03:00
parent 78362bc146
commit 8b949bcf26
2 changed files with 58 additions and 3 deletions

View file

@ -27,7 +27,11 @@ class mythtv::backend {
$mythtv_dbname = "mythconverg"
}
package { ["mythtv-backend", "mythtv-setup", "mythtv-docs"]:
package { ["mythtv-backend",
"mythtv-setup",
"mythtv-docs",
"perl-DBD-MySQL",
"mysql", ]:
ensure => installed,
}
@ -63,6 +67,14 @@ class mythtv::backend {
require => Package["mythtv-backend"],
}
file { "/etc/cron.daily/mythorphans":
ensure => present,
source => "puppet:///mythtv/mythorphans",
mode => 0755,
owner => root,
group => root,
}
}
@ -72,7 +84,7 @@ class mythtv::backend {
#
class mythtv::cron inherits mythtv::backend {
package { [ "perl-MythTV", "perl-Net-UPnP", "perl-DBD-MySQL" ]:
package { [ "perl-MythTV", "perl-Net-UPnP" ]:
ensure => installed,
}
@ -111,4 +123,4 @@ class mythtv::mythweb {
require => Package["mythweb"],
}
}
}