projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a34cbcf
)
we can use our own idiom
author
Stephen Gran
<steve@lobefin.net>
Wed, 16 May 2012 17:06:46 +0000
(18:06 +0100)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/modules/apache2/manifests/init.pp
b/modules/apache2/manifests/init.pp
index
d2e4998
..
dec6a4a
100644
(file)
--- 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'],
}
}