diff --git a/manifests/server/grant.pp b/manifests/server/grant.pp index 22b8952..d24130c 100644 --- a/manifests/server/grant.pp +++ b/manifests/server/grant.pp @@ -55,8 +55,8 @@ define postgresql::server::grant ( 'ALL' => 'INSERT', default => $_privilege, } - validate_string($unless_privilege,'SELECT','INSERT','UPDATE','REFERENCES', - 'ALL','ALL PRIVILEGES') + validate_string($unless_privilege,'SELECT','INSERT','UPDATE','DELETE', + 'TRUNCATE','REFERENCES','TRIGGER','ALL','ALL PRIVILEGES') $unless_function = 'has_table_privilege' $on_db = $db }