Changed mythtv::mythweb to use $apache::sslserver::group instead hard coded httpsd group.

This commit is contained in:
Timo Mkinen 2011-03-01 12:49:11 +02:00
parent 5a808f15db
commit bdda556ce7

View file

@ -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"],
} }