Commit ea6ca982 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more stretch work

parent befae3a6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -24,9 +24,9 @@ define apache::site(
    fail("ensure must be present or absent, not $ensure")
  }

  # With jessie the files controlled by a2ensite must have a suffix
  # of '.conf'.
  if ($::lsbdistcodename == 'jessie' and $name !~ /.conf$/) {
  # With jessie (and later) the files controlled by a2ensite must have a
  # suffix of '.conf'.
  if (($::lsbdistcodename != 'wheezy') and ($name !~ /.conf$/)) {
    $site_id  = "${name}.conf"
    $realname = "/etc/apache2/sites-available/${name}.conf"
    file {