From 9041cedfeb58ddc5340713c709e6c8decd86cbbd Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 16 May 2012 18:06:46 +0100 Subject: [PATCH] we can use our own idiom Signed-off-by: Stephen Gran --- modules/apache2/manifests/init.pp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/apache2/manifests/init.pp b/modules/apache2/manifests/init.pp index d2e499837..dec6a4a2f 100644 --- a/modules/apache2/manifests/init.pp +++ b/modules/apache2/manifests/init.pp @@ -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'], } } -- 2.20.1