Fixed mythtv for Fedora 17.
This commit is contained in:
parent
747ac729b1
commit
1bafb53dec
1 changed files with 30 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue