summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/vcsrepo/dummy.rb
diff options
context:
space:
mode:
authorTravis Fields <cyberious@users.noreply.github.com>2014-09-17 09:04:46 -0700
committerTravis Fields <cyberious@users.noreply.github.com>2014-09-17 09:04:46 -0700
commitdaff68c3a040abd5c8b4e3119bf2f56c23b4ca5b (patch)
tree795d8860fab9236b8d9557a47889d9d3a3cffed8 /lib/puppet/provider/vcsrepo/dummy.rb
parent45a21f46eec85a48da017af4505cc53c1de92a14 (diff)
parentead1aa855a0a6ff6ca54ffc027c585f0b6dba0f4 (diff)
downloadpuppet-vcsrepo-daff68c3a040abd5c8b4e3119bf2f56c23b4ca5b.tar.gz
puppet-vcsrepo-daff68c3a040abd5c8b4e3119bf2f56c23b4ca5b.tar.bz2
Merge pull request #209 from hunner/global_default
(MODULES-428) Remove dummy warning
Diffstat (limited to 'lib/puppet/provider/vcsrepo/dummy.rb')
-rw-r--r--lib/puppet/provider/vcsrepo/dummy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/vcsrepo/dummy.rb b/lib/puppet/provider/vcsrepo/dummy.rb
index f7b4e54..27bfbbe 100644
--- a/lib/puppet/provider/vcsrepo/dummy.rb
+++ b/lib/puppet/provider/vcsrepo/dummy.rb
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), '..', 'vcsrepo')
Puppet::Type.type(:vcsrepo).provide(:dummy, :parent => Puppet::Provider::Vcsrepo) do
desc "Dummy default provider"
- defaultfor :vcsrepo => :dummy
+ defaultfor :feature => :posix
def working_copy_exists?
providers = @resource.class.providers.map{|x| x.to_s}.sort.reject{|x| x == "dummy"}.join(", ") rescue "none"