Fixed mythtv for Fedora 17.

This commit is contained in:
Timo Mkinen 2012-08-14 18:16:51 +03:00
parent 747ac729b1
commit 1bafb53dec

View file

@ -62,6 +62,36 @@ class mythtv::backend {
require => Package["mythtv-backend"],
}
file { "/etc/mythtv/.mythtv":
ensure => directory,
mode => "0755",
owner => "root",
group => "root",
}
file { "/etc/mythtv/.mythtv/mysql.txt":
ensure => link,
target => "../mysql.txt",
owner => "root",
group => "root",
require => [
File["/etc/mythtv/mysql.txt"],
File["/etc/mythtv/.mythtv"],
],
before => Service["mythbackend"],
}
file { "/etc/mythtv/.mythtv/config.xml":
ensure => link,
target => "../config.xml",
owner => "root",
group => "root",
require => [
File["/etc/mythtv/config.xml"],
File["/etc/mythtv/.mythtv"],
],
before => Service["mythbackend"],
}
file { "/etc/sysconfig/mythbackend":
ensure => present,
source => "puppet:///modules/mythtv/mythbackend",