diff options
| author | Rein Henrichs <rein@puppetlabs.com> | 2010-06-23 11:22:06 -0700 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | bba45f1defe7525e59e9e5c66882e6416bfad99e (patch) | |
| tree | ffe1529cec8a816ba0f01d6df0fde685f6754913 /lib | |
| parent | 1c5b67d3156873cf3f97aca4d8ca3c6707fc089f (diff) | |
| download | puppet-bba45f1defe7525e59e9e5c66882e6416bfad99e.tar.gz puppet-bba45f1defe7525e59e9e5c66882e6416bfad99e.tar.xz puppet-bba45f1defe7525e59e9e5c66882e6416bfad99e.zip | |
[#4055] Confine CouchDB-related specs to the couchdb feature
Prevents unmet dependency problems when running tests without the
couchrest gem
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/indirector/couch.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/indirector/couch.rb b/lib/puppet/indirector/couch.rb index dc3e49529..6818ee834 100644 --- a/lib/puppet/indirector/couch.rb +++ b/lib/puppet/indirector/couch.rb @@ -1,3 +1,5 @@ +raise "Couch terminus not supported without couchrest gem" unless Puppet.features.couchdb? + require 'couchrest' class Puppet::Indirector::Couch < Puppet::Indirector::Terminus |
