summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/manifests/ssl/openbsd.pp
blob: 43bc68034662e62f13c51b349ef2765dd15c4612 (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

    File_line['enable_apache_on_boot']{
        ensure => 'absent',
    }
    file_line{'enable_apachessl_on_boot':
        path => '/etc/rc.conf.local',
        line => 'httpd flags="-DSSL"',
    }

    File['/opt/bin/restart_apache.sh']{
        source => "puppet:///modules/apache/scripts/OpenBSD/bin/restart_apache_ssl.sh",
    }
    Service['apache']{
        start => 'apachectl startssl',
    }
}