Commit fe2c95f7 authored by Russ Allbery's avatar Russ Allbery
Browse files

Fix a couple of manifest syntax errors and an unqualified variable

parent 0aaedfc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ define apache::cert::comodo(
        'redhat' => 'root',
      },
      default => $group,
    }
    },
    mode    => $mode,
    require => $::operatingsystem ? {
      'debian' => Package['ca-certificates'],
+2 −2
Original line number Diff line number Diff line
@@ -71,12 +71,12 @@ class apache::local inherits apache {
  }

  # Ensure members of the webconfig group can sudo to control Apache.
  case $operatingsystem {
  case $::operatingsystem {
    'debian', 'ubuntu': {
      base::textline { '%webconfig      ALL=/etc/init.d/apache2':
        ensure => '/etc/sudoers'
      }
    }
    },
    'redhat', 'centos': {
      base::textline { '%webconfig      ALL=/etc/init.d/httpd':
        ensure => '/etc/sudoers'