OP#653 add control for puppetdb dir
This commit is contained in:
@@ -45,5 +45,20 @@ class confdroid_puppet::main::dirs (
|
|||||||
seltype => puppet_etc_t,
|
seltype => puppet_etc_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# puppetdb dir
|
||||||
|
if $pt_use_puppetdb == true {
|
||||||
|
file { $pt_puppetdb_dir:
|
||||||
|
ensure => directory,
|
||||||
|
path => $pt_puppetdb_dir,
|
||||||
|
owner => 'puppetdb',
|
||||||
|
group => 'puppetdb',
|
||||||
|
mode => '0750',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => puppet_etc_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user