summaryrefslogtreecommitdiff
path: root/manifests/ssl/openbsd.pp
blob: edf682903d0cb7dad3ec84df97f59b16471d4d23 (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/modules/apache/OpenBSD/bin/restart_apache_ssl.sh",
    }
    Service['apache']{
        start => 'apachectl startssl',
    }
}