we can use our own idiom
authorStephen Gran <steve@lobefin.net>
Wed, 16 May 2012 17:06:46 +0000 (18:06 +0100)
committerStephen Gran <steve@lobefin.net>
Fri, 18 May 2012 19:10:18 +0000 (20:10 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/apache2/manifests/init.pp

index d2e4998..dec6a4a 100644 (file)
@@ -69,11 +69,9 @@ class apache2 {
                        ensure  => installed,
                        require => Package['apache2'],
                }
-
-               file { '/etc/php5/conf.d/suhosin.ini':
-                       source  => 'puppet:///modules/apache2/suhosin.ini',
+               apache2::config { 'suhosin.ini':
+                       content => 'puppet:///modules/apache2/suhosin.ini',
                        require => Package['php5-suhosin'],
-                       notify  => Service['apache2'],
                }
        }