From: Stephen Gran Date: Wed, 16 May 2012 17:06:46 +0000 (+0100) Subject: we can use our own idiom X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9041cedfeb58ddc5340713c709e6c8decd86cbbd;p=mirror%2Fdsa-puppet.git we can use our own idiom Signed-off-by: Stephen Gran --- 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'], } }