summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-11-23 00:14:30 +0100
committermh <mh@immerda.ch>2011-11-23 00:14:30 +0100
commit433a3eb900a092fe514bbb60a8cb0d2f49d4a473 (patch)
tree389b6efaa1b777d03d28985148a1960ae777cb42 /manifests/centos.pp
parentd186ff759ee7e122a7767ce7e8c50f86cd6a2c9e (diff)
there is another Listen example already commented out
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 95d06ce..6bb9ed8 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -46,8 +46,8 @@ class apache::centos inherits apache::package {
require => Package['apache'],
notify => Service['apache'];
'adjust_listen':
- command => 'sed -i "s/^#Listen \(.*\)/Listen \1/g" /etc/httpd/conf/httpd.conf',
- unless => "grep -qE '^Listen ' /etc/httpd/conf/httpd.conf",
+ command => 'sed -i "s/^#Listen 80/Listen 80/g" /etc/httpd/conf/httpd.conf',
+ unless => "grep -qE '^Listen 80' /etc/httpd/conf/httpd.conf",
require => Package['apache'],
notify => Service['apache'];
}