[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.25.4-6-100-g37f4a57

Stig Sandbeck Mathisen ssm at debian.org
Fri Jun 25 16:14:57 UTC 2010


The following commit has been merged in the master branch:
commit 641d9322cde09257f4fd721d743ab95e1aca225f
Author: Mathias Gug <mathiaz at ubuntu.com>
Date:   Tue Jun 15 09:23:18 2010 +0200

    Add binary package "puppet-testsuite"
    
    Here is a patch to create a binary package (puppet-testsuite) that ships all
    the tests available from the upstream source code. The test suites can then be
    run by installing the package and running the tests directly from
    /usr/share/puppet-testsuite/.
    
    This was done at the request of the Ubuntu security team in order to improve
    the QA process for the puppet package (in order to move it to main). The best
    option would be to run it during the package build process - however it would
    require more integration. Providing the tests as part of a binary packages is
    the first step towards that goal.

diff --git a/debian/control b/debian/control
index 4c50d80..15f522c 100644
--- a/debian/control
+++ b/debian/control
@@ -81,3 +81,15 @@ Depends: ${misc:Depends}, emacsen-common
 Conflicts: puppet (<< ${source:Version})
 Description: Emacs syntax highlighting for puppet manifests
  The puppet-el package provides syntax highlighting for puppet manifests
+
+Package: puppet-testsuite
+Architecture: all
+Depends: ${misc:Depends}, ruby1.8, puppet (= ${source:Version}), facter, lsb-base, rails (>= 1.2.3-2), rdoc, libldap-ruby1.8, mongrel, librspec-ruby, puppetmaster, git-core
+Description: centralized configuration management control for networks
+ Puppet lets you centrally manage every important aspect of your system
+ using a cross-platform specification language that manages all the
+ seperate elements normally aggregated in different files, like users,
+ cron jobs, and hosts, along with obviously discrete elements like
+ packages, services, and files.
+ .
+ This package contains the testsuite for puppet.
diff --git a/debian/puppet-testsuite.install b/debian/puppet-testsuite.install
new file mode 100644
index 0000000..974da65
--- /dev/null
+++ b/debian/puppet-testsuite.install
@@ -0,0 +1,3 @@
+test/* /usr/share/puppet-testsuite/test
+spec/* /usr/share/puppet-testsuite/spec
+Rakefile /usr/share/puppet-testsuite/
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index e03cc98..2026b23 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,7 +18,7 @@ end
 require 'puppettest'
 require 'puppettest/runnable_test'
 require 'mocha'
-gem 'rspec', '>=1.2.2'
+#gem 'rspec', '>=1.2.2'
 require 'spec/autorun'
 
 # So everyone else doesn't have to include this base constant.

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list