Added cron job for running myth.find_orphans.pl into mythtv::backend.
This commit is contained in:
parent
78362bc146
commit
8b949bcf26
2 changed files with 58 additions and 3 deletions
|
@ -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"],
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue