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