Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install-ssh-*: Pass -a to rsync to preserve rights, owners, and times.

Alex Vandiverf8a9edc38278
diff --git a/puppet/zulip_ops/files/install-ssh-authorized-keys b/puppet/zulip_ops/files/install-ssh-authorized-keys
index 85219e812e2..9dd9e3b05fd 100644
--- a/puppet/zulip_ops/files/install-ssh-authorized-keys
+++ b/puppet/zulip_ops/files/install-ssh-authorized-keys
@@ -26,4 +26,4 @@ if [ "$#" -gt 2 ]; then
exit 0
fi
-rsync -v "$workfile" "$sshdir/authorized_keys"
+rsync -av "$workfile" "$sshdir/authorized_keys"
diff --git a/puppet/zulip_ops/files/install-ssh-keys b/puppet/zulip_ops/files/install-ssh-keys
index fa13f66d804..820e47b9256 100644
--- a/puppet/zulip_ops/files/install-ssh-keys
+++ b/puppet/zulip_ops/files/install-ssh-keys
@@ -34,6 +34,6 @@ if [ "$#" -gt 2 ]; then
exit 0
fi
-rsync -rv --delete \
+rsync -av --delete \
--exclude config --exclude authorized_keys --exclude known_hosts \
"$workdir/" "$sshdir/"