[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Markus Roberts Markus at reality.com
Wed Jul 14 10:35:56 UTC 2010


The following commit has been merged in the upstream branch:
commit b2bd05d8701e5e785cf5da4136bfd65a419e6b34
Author: Matt Robinson <matt at puppetlabs.com>
Date:   Mon Jun 28 17:08:02 2010 -0700

    maint:  Confine a test that depends on sqlite
    
    I'm also going to update the wiki to mention sqlite is a test dependency

diff --git a/lib/puppet/feature/base.rb b/lib/puppet/feature/base.rb
index 2bdff3f..a72ebb0 100644
--- a/lib/puppet/feature/base.rb
+++ b/lib/puppet/feature/base.rb
@@ -48,3 +48,6 @@ raise Puppet::Error,"Cannot determine basic system flavour" unless Puppet.featur
 
 # We have CouchDB
 Puppet.features.add(:couchdb, :libs => ["couchrest"])
+
+# We have sqlite
+Puppet.features.add(:sqlite, :libs => ["sqlite3"])
diff --git a/spec/unit/indirector/node/active_record_spec.rb b/spec/unit/indirector/node/active_record_spec.rb
index 1d90295..9143df6 100755
--- a/spec/unit/indirector/node/active_record_spec.rb
+++ b/spec/unit/indirector/node/active_record_spec.rb
@@ -6,6 +6,7 @@ require 'puppet/node'
 
 describe "Puppet::Node::ActiveRecord" do
     confine "Missing Rails" => Puppet.features.rails?
+    confine "Missing sqlite" => Puppet.features.sqlite?
     before do 
         require 'puppet/indirector/node/active_record'
     end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list