From 4cd64e80ac7473ea1fb47cdfc68ef93a79666084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Can=C3=A9vet?= Date: Fri, 15 Nov 2013 15:20:15 +0100 Subject: [PATCH] Add missing privileges --- manifests/server/grant.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }