summaryrefslogtreecommitdiff
path: root/manifests/selinux.pp
blob: 1ec2e03906db2c5d5050b69ac7ca97f62315b12d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# manifests/selinux.pp

class mysql::selinux {
    case $operatingsystem {
        gentoo: { include mysql::selinux::gentoo }
    }
}

class mysql::selinux::gentoo {
    package{'selinux-mysql':
        ensure => present,
        category => 'sec-policy',
        require => Package[mysql],
    }
    selinux::loadmodule {'mysql': }
}