Attached is a diff to address 2 issues I encountered with the
puppet-vcsrepo type and svn provider.
1. When using ensure => latest, checkout didn't get updated when the
repo was updated.
2. Dependent resources (subscribe etc) always got refreshed even if the
checkout hadn't changed.
This diff addresses both of those issues, I haven't tested with a
provider other than svn.
Code is also at GitHub
http://github.com/mikeknox/puppet-vcsrepo/tree/bug/svn-update
Apologies for the code quality, I'm fairly new to ruby and found out
about insync? etc by digging through the package provider code.
Cheers
Mike
I think this causes an issue for at least the Git provider - now a bare
repo is constantly recreated - I haven't had time to dig into why but
I'm willing to bet its the change to insync? :)
Regards
James
--
Puppet Labs - http://www.puppetlabs.com
C: 503-734-8571
Tested with ensure => latest & ensure => present for both svn and git.
Also tested with revision => <some rev> when ensure => present.
Cheers