Remove extra .conf from apache config file
authorJulien Cristau <jcristau@debian.org>
Sat, 24 Sep 2016 17:07:39 +0000 (19:07 +0200)
committerJulien Cristau <jcristau@debian.org>
Sat, 24 Sep 2016 17:07:39 +0000 (19:07 +0200)
apache2::config already adds .conf to the file name.

modules/roles/manifests/static_mirror.pp

index ce7f03e..784d53b 100644 (file)
@@ -52,6 +52,9 @@ class roles::static_mirror {
        }
 
        apache2::config { 'local-static-vhost.conf':
+               ensure => absent,
+       }
+       apache2::config { 'local-static-vhost':
                content => template('roles/static-mirroring/static-vhost.conf.erb'),
        }