diff options
author | Travis Fields <cyberious@users.noreply.github.com> | 2014-09-17 09:04:46 -0700 |
---|---|---|
committer | Travis Fields <cyberious@users.noreply.github.com> | 2014-09-17 09:04:46 -0700 |
commit | daff68c3a040abd5c8b4e3119bf2f56c23b4ca5b (patch) | |
tree | 795d8860fab9236b8d9557a47889d9d3a3cffed8 /lib/puppet/provider/vcsrepo/dummy.rb | |
parent | 45a21f46eec85a48da017af4505cc53c1de92a14 (diff) | |
parent | ead1aa855a0a6ff6ca54ffc027c585f0b6dba0f4 (diff) | |
download | puppet-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.rb | 2 |
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" |