Skip to content

Commit abd6c6f

Browse files
committed
Add missing onlyif_function to sequence grant code
1 parent 577299f commit abd6c6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

manifests/server/grant.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@
9696
validate_string($unless_privilege,'USAGE','ALL','ALL PRIVILEGES')
9797
$unless_function = 'has_sequence_privilege'
9898
$on_db = $db
99+
$onlyif_function = undef
99100
}
100101
'ALL SEQUENCES IN SCHEMA': {
101102
validate_string($_privilege,'USAGE','ALL','ALL PRIVILEGES')
102103
$unless_function = 'custom'
103104
$on_db = $db
105+
$onlyif_function = undef
104106

105107
$schema = $object_name
106108

@@ -247,4 +249,4 @@
247249
if($db != undef and defined(Postgresql::Server::Database[$db])) {
248250
Postgresql::Server::Database[$db]->Postgresql_psql["grant:${name}"]
249251
}
250-
}
252+
}

0 commit comments

Comments
 (0)