summaryrefslogtreecommitdiff
path: root/manifests/ssl/openbsd.pp
blob: 04dadebd5b265b8df855a5655042b62a69866273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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',
    }
}