Commit c06eb7cc authored by mh's avatar mh
Browse files

added selinux stuff

parent 3d50b095
# modules/imapproxy/manifests/init.pp - manage imapproxy stuff # modules/imapproxy/manifests/init.pp - manage imapproxy stuff
# Copyright (C) 2007 admin@immerda.ch # Copyright (C) 2007 admin@immerda.ch
# GPLv3
# #
# modules_dir { "imapproxy": } # modules_dir { "imapproxy": }
...@@ -9,6 +10,10 @@ class imapproxy { ...@@ -9,6 +10,10 @@ class imapproxy {
gentoo: { include imapproxy::gentoo } gentoo: { include imapproxy::gentoo }
default: { include imapproxy::base } default: { include imapproxy::base }
} }
if $selinux {
include imapproxy::selinux
}
} }
class imapproxy::base { class imapproxy::base {
......
# manifests/selinux.pp
class imapproxy::selinux {
case $operatingsystem {
gentoo: { include imapproxy::selinux::gentoo }
}
}
class imapproxy::selinux::gentoo {
selinux::module {"squid_immerda":}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment