style guide fixes: 'true' <> true, $operatingsystem needs to be $::operatingsystem, etc.

This commit is contained in:
Walter Heck 2012-04-16 15:20:00 +08:00
parent 273f94d321
commit 073964152d
3 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

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

View File

@ -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' |>
}