concat does not like empty things
[mirror/dsa-puppet.git] / modules / apache2 / manifests / init.pp
index cc85738..85c5528 100644 (file)
@@ -169,5 +169,12 @@ class apache2 {
                mode    => '0644',
                require =>  Package['apache2'],
        }
-       apache2::config { 'puppet-ssl-key-pins': }
+       concat::fragment { 'puppet-ssl-key-pins-header':
+               target => '/etc/apache2/conf-available/puppet-ssl-key-pins.conf',
+               content => '',
+               order  => 00,
+       }
+       apache2::config { 'puppet-ssl-key-pins':
+               nocontentok => true,
+       }
 }