style guide fixes: 'true' <> true, $operatingsystem needs to be $::operatingsystem, etc.
This commit is contained in:
parent
273f94d321
commit
073964152d
@ -20,7 +20,7 @@ class apache::params {
|
||||
|
||||
$user = 'www-data'
|
||||
$group = 'www-data'
|
||||
$ssl = 'true'
|
||||
$ssl = true
|
||||
$template = 'apache/vhost-default.conf.erb'
|
||||
$priority = '25'
|
||||
$servername = ''
|
||||
@ -30,7 +30,7 @@ class apache::params {
|
||||
$options = 'Indexes FollowSymLinks MultiViews'
|
||||
$vhost_name = '*'
|
||||
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
'centos', 'redhat', 'fedora', 'scientific': {
|
||||
$apache_name = 'httpd'
|
||||
$php_package = 'php'
|
||||
|
@ -16,7 +16,7 @@ class apache::ssl {
|
||||
|
||||
include apache
|
||||
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
'centos', 'fedora', 'redhat', 'scientific': {
|
||||
package { "apache_ssl_package":
|
||||
name => "$apache::params::ssl_package",
|
||||
|
@ -57,7 +57,7 @@ define apache::vhost(
|
||||
|
||||
# Since the template will use auth, redirect to https requires mod_rewrite
|
||||
if $redirect_ssl == true {
|
||||
case $operatingsystem {
|
||||
case $::operatingsystem {
|
||||
'debian','ubuntu': {
|
||||
A2mod <| title == 'rewrite' |>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user