summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-10-13 00:56:24 +0200
committermh <mh@immerda.ch>2011-10-13 00:56:24 +0200
commitd9b5ec61e22353faf9b975d14cdec45efc128f2c (patch)
tree80083f96264d10044ab7f896184c2cc1a2562760
parent3e0081dd3cd8754454ccf1ee616a88d357952052 (diff)
add worker related config files
-rw-r--r--files/service/CentOS/httpd.worker22
-rw-r--r--manifests/centos/worker.pp5
-rw-r--r--manifests/worker.pp5
3 files changed, 32 insertions, 0 deletions
diff --git a/files/service/CentOS/httpd.worker b/files/service/CentOS/httpd.worker
new file mode 100644
index 0000000..290923f
--- /dev/null
+++ b/files/service/CentOS/httpd.worker
@@ -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/centos/worker.pp b/manifests/centos/worker.pp
new file mode 100644
index 0000000..4816fbf
--- /dev/null
+++ b/manifests/centos/worker.pp
@@ -0,0 +1,5 @@
+class apache::centos::worker inherits apache::centos {
+ File['apache_service_config']{
+ source => "puppet:///modules/apache/service/CentOS/httpd.worker"
+ }
+}
diff --git a/manifests/worker.pp b/manifests/worker.pp
new file mode 100644
index 0000000..70c3c70
--- /dev/null
+++ b/manifests/worker.pp
@@ -0,0 +1,5 @@
+class apache::itk inherits apache {
+ case $operatingsystem {
+ centos: { include ::apache::centos::worker }
+ }
+}