diff --git a/cookbooks/base/lsyncd.rb b/cookbooks/base/lsyncd.rb index b0127bd..986d4aa 100644 --- a/cookbooks/base/lsyncd.rb +++ b/cookbooks/base/lsyncd.rb @@ -24,6 +24,9 @@ end source "files/root/.ssh/#{f}" password ENV['ITAMAE_PASSWORD'] + + # Do not overwrite: + not_if "test -e /root/.ssh/#{f}" end end