summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" ],
+ }
}