aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-09 11:56:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-09 11:56:25 -0300
commit5e0784e2f5b474bfe3b8c6780105a6ae01ed37fe (patch)
tree1947e9cb1bfdaf9d72d3be88d2c8d8539d7af70e /share
parente0d62c3de552172d7cdc8701db1dda0ea2e3c71f (diff)
downloadhydra-5e0784e2f5b474bfe3b8c6780105a6ae01ed37fe.tar.gz
hydra-5e0784e2f5b474bfe3b8c6780105a6ae01ed37fe.tar.bz2
Fix: hydra: deploy: fix puppet/devices ownership
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/deploy3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index e440ae5..5fabb6c 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -151,6 +151,9 @@ for node in $NODES; do
# Fix ssl folder ownership
$SUDO chown -R `whoami`: $HYDRA_FOLDER/puppet/ssl
+ # Fix devices folder ownership
+ $SUDO chown -R `whoami`: $HYDRA_FOLDER/puppet/devices
+
# Import keys if needed
if ! $SUDO test -f /root/.ssh/id_rsa || \
! $SUDO test -f /root/.config/borg/hydra/key || \