Loading manifests/site.pp +3 −3 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
manifests/site.pp +3 −3 Original line number Diff line number Diff line Loading @@ -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 { Loading