leap_cli should remove leftovers in /srv/leap
hej,
i re-deployed leap_platform to a server that was formerly customized (following https://leap.se/en/docs/platform/details/faq#how-can-i-customize-the-leap_platform-puppet-manifests). it turned out that puppet applied old leftovers from an older installation, i.e.:
/srv/leap/files/puppet/modules/pixelated/manifests/dispatcher.pp
this file was not present at the latest deploy, but was not removed by that deploy.
after i removed /srv/leap completely and redeployed, everything was fine.
i'm wondering why, because the rsync cmd already uses '--delete' (but does not include /files/puppet, strangely):
- cd '/home/varac/leap/git/leap_platform'; rsync -rlt --relative --delete --copy-links --include='/bin' --include='/bin/**' --include='/puppet' --include='/puppet/**' --include='/tests' --include='/tests/**' --exclude='*' -e "ssh -o IdentitiesOnly='no' -o GlobalKnownHostsFile='/home/varac/thoughtworks/git/pixelated-environments/pixelated-project.org/files/ssh/known_hosts' -o UserKnownHostsFile='/dev/null' -o StrictHostKeyChecking='yes' -o HostName='213.73.97.232' -p 22 -o HostKeyAlgorithms='ssh-rsa'" . root@unstable1.unstable.pixelated-project.org:/srv/leap
(from redmine: created on 2015-04-02)