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

Fix more manifest syntax errors

parent fe2c95f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ define apache::cert::comodo(
    source  => $identity ? {
      undef   => "puppet:///modules/cert-files/${name}.stanford.edu",
      default => $identity,
    }
    },
    require => $::operatingsystem ? {
      'debian' => Package['ca-certificates'],
      'ubuntu' => Package['ca-certificates'],
+2 −1
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ class apache::local inherits apache {
    default: {
      fail("Unsupported OS ${::operatingsystem} in apache::local")
    }
  }

  # Ensure members of the webconfig group can sudo to control Apache.
  case $::operatingsystem {
@@ -76,7 +77,7 @@ class apache::local inherits apache {
      base::textline { '%webconfig      ALL=/etc/init.d/apache2':
        ensure => '/etc/sudoers'
      }
    },
    }
    'redhat', 'centos': {
      base::textline { '%webconfig      ALL=/etc/init.d/httpd':
        ensure => '/etc/sudoers'