summaryrefslogtreecommitdiff
path: root/manifests/ssl.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-01 11:16:54 +0000
committermh <mh@immerda.ch>2008-11-01 11:16:54 +0000
commit0e75ef0a2b30bfdfc74a4c18e0ea3f4b86b34e25 (patch)
tree5170dc10e27cb1675b0ad335c08ce08414904823 /manifests/ssl.pp
parent22bdcda8946555836ffada43451f8daba465720f (diff)
merged with puzzle
Diffstat (limited to 'manifests/ssl.pp')
-rw-r--r--manifests/ssl.pp33
1 files changed, 33 insertions, 0 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp
new file mode 100644
index 0000000..7106907
--- /dev/null
+++ b/manifests/ssl.pp
@@ -0,0 +1,33 @@
+# manifests/ssl.pp
+
+class apache::ssl inherits apache {
+ case $operatingsystem {
+ centos: { include apache::ssl::centos }
+ gentoo: { include apache::ssl::gentoo }
+ defaults: { include apache::ssl::base }
+ }
+}
+
+class apache::ssl::base {}
+
+
+### distribution specific classes
+
+### centos
+class apache::ssl::centos inherits apache::ssl::base {
+ package { 'mod_ssl':
+ name => 'mod_ssl',
+ ensure => present,
+ require => Package[apache],
+ }
+ apache::config::file{ 'ssl.conf': }
+ apache::config::file{ 'ssl_defaults.inc': }
+ apache::vhost::file{ '0-default_ssl.conf': }
+}
+
+### gentoo
+class apache::ssl::gentoo inherits apache::ssl::base {
+ apache::module::file { '00_default_settings': }
+ apache::module::file { '00_error_documents': }
+ apache::vhost::file { '00_default_ssl_vhost': }
+}