diff --git a/manifests/server/grant.pp b/manifests/server/grant.pp index 447ba18..2227915 100644 --- a/manifests/server/grant.pp +++ b/manifests/server/grant.pp @@ -96,11 +96,13 @@ define postgresql::server::grant ( validate_string($unless_privilege,'USAGE','ALL','ALL PRIVILEGES') $unless_function = 'has_sequence_privilege' $on_db = $db + $onlyif_function = undef } 'ALL SEQUENCES IN SCHEMA': { validate_string($_privilege,'USAGE','ALL','ALL PRIVILEGES') $unless_function = 'custom' $on_db = $db + $onlyif_function = undef $schema = $object_name @@ -247,4 +249,4 @@ define postgresql::server::grant ( if($db != undef and defined(Postgresql::Server::Database[$db])) { Postgresql::Server::Database[$db]->Postgresql_psql["grant:${name}"] } -} \ No newline at end of file +}