Skip to content

Commit

Permalink
no longer enforce default value for $apache_name
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki authored and Steven Post committed Mar 27, 2015
1 parent cc61615 commit 4290182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/package.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
before => Package['httpd'],
}
}
$apache_package = $::apache::params::apache_name
$apache_package = $::apache::apache_name
}
default: {
$apache_package = $::apache::params::apache_name
$apache_package = $::apache::apache_name
}
}

Expand Down
2 changes: 1 addition & 1 deletion manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
fail('You must include the apache base class before using any apache defined resources')
}

$apache_name = $::apache::params::apache_name
$apache_name = $::apache::apache_name

validate_re($ensure, '^(present|absent)$',
"${ensure} is not supported for ensure.
Expand Down

0 comments on commit 4290182

Please sign in to comment.