summaryrefslogtreecommitdiff
path: root/manifests/ssl/openbsd.pp
diff options
context:
space:
mode:
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',
+ }
+}