diff options
Diffstat (limited to 'manifests/ssl.pp')
-rw-r--r-- | manifests/ssl.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 32e7b34..eeee243 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -4,6 +4,7 @@ class apache::ssl inherits apache { case $operatingsystem { centos: { include apache::ssl::centos } gentoo: { include apache::ssl::gentoo } + openbsd: { include apache::ssl::openbsd } defaults: { include apache::ssl::base } } } @@ -31,3 +32,12 @@ class apache::ssl::gentoo inherits apache::ssl::base { apache::module::file { '00_error_documents': } apache::vhost::file { '00_default_ssl_vhost': } } + +class apache::ssl::openbsd inherits apache::openbsd { + File['/opt/bin/restart_apache.sh']{ + source => "puppet://$server/apache/openbsd/bin/restart_apache_ssl.sh", + } + Service['apache']{ + start => 'apachectl startssl', + } +} |