Changed mythtv::mythweb to use $apache::sslserver::group instead hard coded httpsd group.
This commit is contained in:
parent
5a808f15db
commit
bdda556ce7
1 changed files with 5 additions and 1 deletions
|
@ -152,11 +152,15 @@ class mythtv::mythweb {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ! $apache::sslserver::group {
|
||||||
|
fail("\$apache::sslserver::group not defined, include apache::sslserver class before mythtv::mythweb class")
|
||||||
|
}
|
||||||
|
|
||||||
file { "/usr/share/mythweb/data":
|
file { "/usr/share/mythweb/data":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => 0770,
|
mode => 0770,
|
||||||
owner => root,
|
owner => root,
|
||||||
group => httpsd,
|
group => $apache::sslserver::group,
|
||||||
seltype => "httpd_sys_rw_content_t",
|
seltype => "httpd_sys_rw_content_t",
|
||||||
require => Package["mythweb"],
|
require => Package["mythweb"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue