Migrated $httpd_user, $httpd_group, $httpsd_user and $httpsd_group variables to use format $apache::server::{user,group} and $apache::sslserver::{user,group}.
This commit is contained in:
parent
61b1501079
commit
e3b6cca7a4
5 changed files with 38 additions and 20 deletions
|
@ -1,12 +1,5 @@
|
|||
class apache::redhat::server {
|
||||
|
||||
if ! $httpd_user {
|
||||
$httpd_user = "apache"
|
||||
}
|
||||
if ! $httpd_group {
|
||||
$httpd_group = "apache"
|
||||
}
|
||||
|
||||
file { [ "/etc/httpd/conf.http.d",
|
||||
"/etc/httpd/site.http.d",
|
||||
"/srv/www/http",
|
||||
|
@ -122,13 +115,6 @@ define apache::redhat::site($aliases, $root, $redirect) {
|
|||
|
||||
class apache::redhat::sslserver {
|
||||
|
||||
if ! $httpsd_user {
|
||||
$httpsd_user = "httpsd"
|
||||
}
|
||||
if ! $httpsd_group {
|
||||
$httpsd_group = "httpsd"
|
||||
}
|
||||
|
||||
package { "mod_ssl":
|
||||
ensure => installed
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue