ComputeCanada / puppet-magic_castle

Puppet Environment repo for Magic Castle - https://github.com/ComputeCanada/magic_castle
MIT License
13 stars 21 forks source link

Do not wipe .bash* files in existing home folders #354

Open poquirion opened 7 months ago

poquirion commented 7 months ago

When MC is deployed on already existing home folder, it will wipe existing ~/{.bash_logout,.bash_profile,.bashrc} files.

https://github.com/ComputeCanada/puppet-magic_castle/blob/main/site/profile/files/accounts/account_functions.sh#L43

Option --ignore-existing should replace option -u in rsync to prevent that occurrence.