summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduritong <peter.meier@immerda.ch>2009-05-17 15:55:28 +0200
committerduritong <peter.meier@immerda.ch>2009-05-17 15:55:28 +0200
commit3ab04eb6f7b7adec20fe04366a8ef95476bbd774 (patch)
tree2cf3a3d866882c973500e871c7ce06c2a2ef9884
parent25c6405b88d4e1f2463706dd926c7e1f803e284e (diff)
manage sysconfig for itk as well
-rw-r--r--files/sysconfig/CentOS/httpd.itk22
-rw-r--r--manifests/itk.pp6
2 files changed, 28 insertions, 0 deletions
diff --git a/files/sysconfig/CentOS/httpd.itk b/files/sysconfig/CentOS/httpd.itk
new file mode 100644
index 0000000..7102c61
--- /dev/null
+++ b/files/sysconfig/CentOS/httpd.itk
@@ -0,0 +1,22 @@
+# Configuration file for the httpd service.
+
+#
+# The default processing model (MPM) is the process-based
+# 'prefork' model. A thread-based model, 'worker', is also
+# available, but does not work with some modules (such as PHP).
+# The service must be stopped before changing this variable.
+#
+#HTTPD=/usr/sbin/httpd.worker
+
+#
+# To pass additional options (for instance, -D definitions) to the
+# httpd binary at startup, set OPTIONS here.
+#
+#OPTIONS=
+
+#
+# By default, the httpd process is started in the C locale; to
+# change the locale in which the server runs, the HTTPD_LANG
+# variable can be set.
+#
+#HTTPD_LANG=C
diff --git a/manifests/itk.pp b/manifests/itk.pp
index 16bcf3d..eac0056 100644
--- a/manifests/itk.pp
+++ b/manifests/itk.pp
@@ -19,4 +19,10 @@ class apache::centos::itk inherits apache::centos {
Package['apache']{
name => 'httpd-itk',
}
+ File['/etc/sysconfig/httpd']{
+ source => [ "puppet://$server/files/apache/sysconfig/${fqdn}/httpd.itk",
+ "puppet://$server/files/apache/sysconfig/httpd.itk",
+ "puppet://$server/apache/sysconfig/${operatingsystem}/httpd.itk",
+ "puppet://$server/apache/sysconfig/httpd.itk" ],
+ }
}