summaryrefslogtreecommitdiff
path: root/manifests/selinux.pp
blob: 030aae799361488a9ecadc8b06f48e821eacd373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# manifests/selinux.pp
# manage selinux specific stuff

class apache::selinux {
    case $operatingsystem {
        gentoo: { include apache::selinux::gentoo }
        default: { include apache::selinux::base }
    }
}

class apache::selinux::base {}

class apache::selinux::gentoo inherits apache::selinux::base {
    package{'selinux-apache':
        ensure => present,
        category => 'sec-policy',
    }
    selinux::loadmodule {"apache": }
}