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:
Hunter Haugen 2015-02-04 13:39:33 -08:00
parent d42b821969
commit 50ae9efbad

View file

@ -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}'"