From bdda556ce7cc2fa1dcec8025d86721dc19966f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 1 Mar 2011 12:49:11 +0200 Subject: [PATCH] Changed mythtv::mythweb to use $apache::sslserver::group instead hard coded httpsd group. --- mythtv/manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mythtv/manifests/init.pp b/mythtv/manifests/init.pp index 18a3d13..34db22c 100644 --- a/mythtv/manifests/init.pp +++ b/mythtv/manifests/init.pp @@ -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": ensure => directory, mode => 0770, owner => root, - group => httpsd, + group => $apache::sslserver::group, seltype => "httpd_sys_rw_content_t", require => Package["mythweb"], }