Commit 79293d16 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more puppet-lint cleanup

parent 4f753756
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ define su_apache::conf(
    fail("Unsupported apache::conf operating system ${::operatingsystem}")
  }

  if ($lsbdistcodename == 'wheezy') {
  if ($::lsbdistcodename == 'wheezy') {
    $parent   = "/etc/apache2/${directory}"
    $realname = "${parent}/${name}"

@@ -62,7 +62,7 @@ define su_apache::conf(
      $conf_id = "${name}.conf"
    }
    # Install the file.
    file { "/etc/apache2/conf-available/$conf_id":
    file { "/etc/apache2/conf-available/${conf_id}":
      ensure  => $ensure,
      source  => $source,
      content => $content,
@@ -73,7 +73,7 @@ define su_apache::conf(
      command     => "a2enconf ${conf_id}",
      path        => '/usr/bin:/usr/sbin',
      refreshonly => true,
      require     => File["/etc/apache2/conf-available/$conf_id"],
      require     => File["/etc/apache2/conf-available/${conf_id}"],
      notify      => Exec['su_apache_reload'],
    }
  }