git: Changed git datadir SELinux context name.

This commit is contained in:
Timo Makinen 2014-02-27 22:14:36 +02:00
parent 60cc04bd3a
commit 72aa06a20c

View file

@ -29,7 +29,7 @@ class git::server {
ensure => directory,
mode => "0755",
owner => "root",
seltype => "git_system_content_t",
seltype => "git_sys_content_t",
group => "root",
}
file { "/srv/git":
@ -49,7 +49,7 @@ class git::server {
if $git_datadir {
selinux::manage_fcontext { "${git_datadir}(/.*)?":
type => "git_system_content_t",
type => "git_sys_content_t",
before => File[$git_datadir],
}
selinux::manage_fcontext { "/srv/git":