summaryrefslogtreecommitdiff
path: root/manifests/ssl/openbsd.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-05-17 22:27:05 +0200
committermh <mh@immerda.ch>2009-05-17 22:27:05 +0200
commitfbb3cb7dcd8406f085e80f3f11fa873b55bd5073 (patch)
treea95d59498674420347e7c115569cc42407d85d82 /manifests/ssl/openbsd.pp
parentc4b3c53375ab001c5cb6407537d64ff3b2ec35cf (diff)
extracted every define and class in it's own file
Diffstat (limited to 'manifests/ssl/openbsd.pp')
-rw-r--r--manifests/ssl/openbsd.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/ssl/openbsd.pp b/manifests/ssl/openbsd.pp
new file mode 100644
index 0000000..04dadeb
--- /dev/null
+++ b/manifests/ssl/openbsd.pp
@@ -0,0 +1,18 @@
+class apache::ssl::openbsd inherits apache::openbsd {
+ include apache::ssl::base
+
+ Line['enable_apache_on_boot']{
+ ensure => 'absent',
+ }
+ line{'enable_apachessl_on_boot':
+ file => '/etc/rc.conf.local',
+ line => 'httpd flags="-DSSL"',
+ }
+
+ File['/opt/bin/restart_apache.sh']{
+ source => "puppet://$server/apache/OpenBSD/bin/restart_apache_ssl.sh",
+ }
+ Service['apache']{
+ start => 'apachectl startssl',
+ }
+}