Skip to content

Commit

Permalink
top level variables should have ::
Browse files Browse the repository at this point in the history
  • Loading branch information
shoekstra committed Mar 13, 2015
1 parent 5f52501 commit 264633d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
21 changes: 0 additions & 21 deletions CHANGELOG

This file was deleted.

4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$www_user = 'www-data'
$www_group = 'www-data'

if ($::operatingsystem == 'Debian' and versioncmp($operatingsystemrelease, '8') >= 0) or ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '13.10') >= 0) {
if ($::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '8') >= 0) or ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '13.10') >= 0) {
$apache_version = '2.4'
} else {
$apache_version = '2.2'
Expand All @@ -34,7 +34,7 @@
$www_user = 'apache'
$www_group = 'apache'

if ($::operatingsystem == 'Fedora' and versioncmp($operatingsystemrelease, '18') >= 0) or ($::operatingsystem != 'Fedora' and versioncmp($operatingsystemrelease, '7') >= 0) {
if ($::operatingsystem == 'Fedora' and versioncmp($::operatingsystemrelease, '18') >= 0) or ($::operatingsystem != 'Fedora' and versioncmp($::operatingsystemrelease, '7') >= 0) {
$apache_version = '2.4'
} else {
$apache_version = '2.2'
Expand Down

0 comments on commit 264633d

Please sign in to comment.