I am using vcsrepo with git to maintain a bunch of software on ubuntu systems. I use this bit of puppet code in a loop to keep the files up to date
vcsrepo { "/usr/local/tools/$repo":
ensure => latest,
provider => git,
user => 'tools',
source => "https://[email protected]/uoa/$repo.git";
}
I was using latest
and switched to present
with no noticeable effect
I get Error: Path /usr/local/tools/common-library exists and is not the desired repository.
on all my ubuntu systems except one old one still running 16.04
Vcsrepo version is 3.0.0 and puppet is at 5. Yes, I know these are old but this is out f my control My best guess is that something has changed in git.