Require server package before user permissions
The postgresql user is created by the server package, but this file resource may be evaluated before the package is installed resulting in permission failures.
This commit is contained in:
parent
d42b821969
commit
50ae9efbad
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ define postgresql::server::tablespace(
|
|||
seluser => 'system_u',
|
||||
selrole => 'object_r',
|
||||
seltype => 'postgresql_db_t',
|
||||
require => Class['postgresql::server'],
|
||||
}
|
||||
|
||||
$create_ts = "Create tablespace '${spcname}'"
|
||||
|
|
Loading…
Reference in a new issue