summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Coleman <ryan@puppetlabs.com>2012-09-19 13:15:43 -0700
committerRyan Coleman <ryan@puppetlabs.com>2012-09-19 13:15:43 -0700
commit44291fcdebff78352636dc32d882653bb2916eaf (patch)
treeb94f15e43437bf1cbe640ebe97df67a65ada1780 /lib
parentf3acccdfb8af8d98c8fc9c8e287ab22d27d62dac (diff)
parenta9f11badf3d0ab95c7ef9e7e52cdeccea970c1f1 (diff)
Merge pull request #33 from bobsh/ticket/master/16495
(#16495, #15660) Fix regression for notifications and pulls on git provider
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/provider/vcsrepo/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/vcsrepo/git.rb b/lib/puppet/provider/vcsrepo/git.rb
index afd9963..95115c6 100644
--- a/lib/puppet/provider/vcsrepo/git.rb
+++ b/lib/puppet/provider/vcsrepo/git.rb
@@ -96,8 +96,8 @@ Puppet::Type.type(:vcsrepo).provide(:git, :parent => Puppet::Provider::Vcsrepo)
def update_references
at_path do
- checkout
- git_with_identity('pull', @resource.value(:remote))
+ git_with_identity('fetch', @resource.value(:remote))
+ git_with_identity('fetch', '--tags', @resource.value(:remote))
update_owner_and_excludes
end
end