[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:20:51 UTC 2009


The following commit has been merged in the master branch:
commit 557be9d4c5332cc6fde94e1119b8e725ef285234
Author: James Turnbull <james at lovedthanlost.net>
Date:   Sat Aug 23 22:10:42 2008 +1000

    Added spec Rake task

diff --git a/CHANGELOG b/CHANGELOG
index 9ec5958..cc18f29 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,8 @@
 0.24.x
+    Added spec Rake task
+
+    Fixed #1526 - Fixed leak in template
+
     Fixed #1506 - Removed storeconfig duplicate indexes
 
     Fixed #1508 - Added HP-UX package provider
diff --git a/Rakefile b/Rakefile
index 4775986..e35368a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -144,3 +144,15 @@ task :tracdocs do
         sh "puppetdoc -m trac -r #{ref.to_s}"
     end
 end
+
+desc "Run the specs under spec/"
+task :spec do
+    require 'spec'
+    require 'spec/rake/spectask'
+    require 'rcov'
+    Spec::Rake::SpecTask.new do |t|
+         #   t.rcov = true
+         t.spec_opts = ['--options', "spec/spec.opts"]
+         t.spec_files = FileList['spec/**/*.rb']
+    end
+end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list