summaryrefslogtreecommitdiff
path: root/lib/puppet
diff options
context:
space:
mode:
authorRyan Coleman <ryan@puppetlabs.com>2012-09-19 13:30:53 -0700
committerRyan Coleman <ryan@puppetlabs.com>2012-09-19 13:30:53 -0700
commit125c5aeeefe2c1225957ad3a13bef2653fff1ee1 (patch)
treeafaf0bcf2300e5ae89d8191615fa5c35d71c3dfb /lib/puppet
parent9f136e1b7f7b069131af880f6092ac6a0c74eb0b (diff)
parent44291fcdebff78352636dc32d882653bb2916eaf (diff)
Merge branch 'master' of github.com:puppetlabs/puppetlabs-vcsrepo
Diffstat (limited to 'lib/puppet')
-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