git: Changed git datadir SELinux context name.
This commit is contained in:
parent
60cc04bd3a
commit
72aa06a20c
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class git::server {
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => "0755",
|
mode => "0755",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
seltype => "git_system_content_t",
|
seltype => "git_sys_content_t",
|
||||||
group => "root",
|
group => "root",
|
||||||
}
|
}
|
||||||
file { "/srv/git":
|
file { "/srv/git":
|
||||||
|
@ -49,7 +49,7 @@ class git::server {
|
||||||
|
|
||||||
if $git_datadir {
|
if $git_datadir {
|
||||||
selinux::manage_fcontext { "${git_datadir}(/.*)?":
|
selinux::manage_fcontext { "${git_datadir}(/.*)?":
|
||||||
type => "git_system_content_t",
|
type => "git_sys_content_t",
|
||||||
before => File[$git_datadir],
|
before => File[$git_datadir],
|
||||||
}
|
}
|
||||||
selinux::manage_fcontext { "/srv/git":
|
selinux::manage_fcontext { "/srv/git":
|
||||||
|
|
Loading…
Add table
Reference in a new issue