diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/host.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 8a05292..9a31f97 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -29,7 +29,9 @@ define gluster::host( content => template('gluster/glusterd.info.erb'), owner => root, group => root, - mode => 644, # u=rw,go=r + mode => 600, # u=rw,go=r + seltype => 'glusterd_var_lib_t', + seluser => 'unconfined_u', ensure => present, require => File['/var/lib/glusterd/'], } @@ -78,7 +80,9 @@ define gluster::host( owner => root, group => root, # NOTE: this mode was found by inspecting the process - mode => 600, # u=rw,go= + mode => 600, # u=rw,go=r + seltype => 'glusterd_var_lib_t', + seluser => 'unconfined_u', } } } |