about summary refs log tree commit diff
path: root/ops/machines/whitby/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-26T11·34+0300
committertazjin <tazjin@tvl.su>2024-02-26T11·57+0000
commit3dfba5901b2474b2d6a83905310f65af1ed3e349 (patch)
tree2884a06579d5e405e6552b07fdbd221daa6bb31e /ops/machines/whitby/default.nix
parentdb2fbcac0b92ac0ceff567835009762d5ead4942 (diff)
fix(ops/whitby): use ensureDBOwnership option for panettone r/7610
The other option is deprecated and prints scary eval warnings.

This probably has no effect, as the database is already initialised.

Change-Id: Ida4e79517436fa4572e69317b28f3712afc17159
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11029
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/machines/whitby/default.nix')
-rw-r--r--ops/machines/whitby/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix
index 2259b51c2ab8..d12445d07840 100644
--- a/ops/machines/whitby/default.nix
+++ b/ops/machines/whitby/default.nix
@@ -454,9 +454,7 @@ in
 
     ensureUsers = [{
       name = "panettone";
-      ensurePermissions = {
-        "DATABASE panettone" = "ALL PRIVILEGES";
-      };
+      ensureDBOwnership = true;
     }];
   };