Your message dated Thu, 02 Sep 2010 00:32:57 +0000
with message-id <[email protected]>
and subject line Bug#571127: fixed in puppet 2.6.1~rc3-1
has caused the Debian Bug report #571127,
regarding etckeeper integration with puppet pre/post commit hooks
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
571127: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571127
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 0.25.4-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu lucid ubuntu-patch
*** /tmp/tmpc9TUKP
In Ubuntu, we've applied the attached patch to achieve the following:
* etckeeper integration (server-lucid-puppet-etckeeper-integration):
- debian/etckeeper-commit-post, debian/etckeeper-commit-pre:
+ Call "etckeeper commit" before and after catalog runs.
Silently bail out if etckeeper is not available.
- debian/puppet.conf:
+ Call out to the etckeeper hooks using the new prerun_command,
and postrun_command hooks.
- debian/rules:
+ Install the etckeeper hook scripts in /etc/puppet.
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid-updates
APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-25-server (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'
=== added file 'debian/etckeeper-commit-post'
--- debian/etckeeper-commit-post 1970-01-01 00:00:00 +0000
+++ debian/etckeeper-commit-post 2010-02-23 17:53:37 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+which etckeeper > /dev/null 2>&1 || exit 0
+
+etckeeper commit "committing changes in /etc after puppet catalog run"
+
+# Failure of etckeeper should not be fatal.
+exit 0
=== added file 'debian/etckeeper-commit-pre'
--- debian/etckeeper-commit-pre 1970-01-01 00:00:00 +0000
+++ debian/etckeeper-commit-pre 2010-02-23 17:53:37 +0000
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+which etckeeper > /dev/null 2>&1 || exit 0
+
+etckeeper commit "saving uncommitted changes in /etc prior to puppet catalog
run"
+
+# Failure of etckeeper should not be fatal.
+exit 0
=== modified file 'debian/puppet.conf'
--- debian/puppet.conf 2010-02-16 06:30:55 +0000
+++ debian/puppet.conf 2010-02-23 17:53:37 +0000
@@ -6,3 +6,5 @@
factpath=$vardir/lib/facter
pluginsync=true
templatedir=$confdir/templates
+prerun_command=/etc/puppet/etckeeper-commit-pre
+postrun_command=/etc/puppet/etckeeper-commit-post
=== modified file 'debian/rules'
--- debian/rules 2010-02-16 14:39:11 +0000
+++ debian/rules 2010-02-23 17:53:37 +0000
@@ -67,6 +67,12 @@
$(INSTALL) -m0644 ext/emacs/puppet-mode.el \
$(CURDIR)/debian/puppet-el/usr/share/emacs/site-lisp/puppet-mode.el
+ # etckeeper integration
+ $(INSTALL) -m0755 debian/etckeeper-commit-pre \
+ $(CURDIR)/debian/puppet/etc/puppet/etckeeper-commit-pre
+ $(INSTALL) -m0755 debian/etckeeper-commit-post \
+ $(CURDIR)/debian/puppet/etc/puppet/etckeeper-commit-post
+
dh_installexamples examples/*
$(INSTALL) -d -m0775 $(pkgconfdir)/templates
--- End Message ---
--- Begin Message ---
Source: puppet
Source-Version: 2.6.1~rc3-1
We believe that the bug you reported is fixed in the latest version of
puppet, which is due to be installed in the Debian FTP archive:
puppet-common_2.6.1~rc3-1_all.deb
to main/p/puppet/puppet-common_2.6.1~rc3-1_all.deb
puppet-el_2.6.1~rc3-1_all.deb
to main/p/puppet/puppet-el_2.6.1~rc3-1_all.deb
puppet-testsuite_2.6.1~rc3-1_all.deb
to main/p/puppet/puppet-testsuite_2.6.1~rc3-1_all.deb
puppet_2.6.1~rc3-1.debian.tar.gz
to main/p/puppet/puppet_2.6.1~rc3-1.debian.tar.gz
puppet_2.6.1~rc3-1.dsc
to main/p/puppet/puppet_2.6.1~rc3-1.dsc
puppet_2.6.1~rc3-1_all.deb
to main/p/puppet/puppet_2.6.1~rc3-1_all.deb
puppet_2.6.1~rc3.orig.tar.gz
to main/p/puppet/puppet_2.6.1~rc3.orig.tar.gz
puppetmaster-common_2.6.1~rc3-1_all.deb
to main/p/puppet/puppetmaster-common_2.6.1~rc3-1_all.deb
puppetmaster-passenger_2.6.1~rc3-1_all.deb
to main/p/puppet/puppetmaster-passenger_2.6.1~rc3-1_all.deb
puppetmaster_2.6.1~rc3-1_all.deb
to main/p/puppet/puppetmaster_2.6.1~rc3-1_all.deb
vim-puppet_2.6.1~rc3-1_all.deb
to main/p/puppet/vim-puppet_2.6.1~rc3-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stig Sandbeck Mathisen <[email protected]> (supplier of updated puppet package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 27 Aug 2010 14:32:00 +0200
Source: puppet
Binary: puppet puppetmaster-common puppetmaster puppetmaster-passenger
puppet-common vim-puppet puppet-el puppet-testsuite
Architecture: source all
Version: 2.6.1~rc3-1
Distribution: experimental
Urgency: low
Maintainer: Puppet Package Maintainers
<[email protected]>
Changed-By: Stig Sandbeck Mathisen <[email protected]>
Description:
puppet - Centralized configuration management - agent startup and compatib
puppet-common - Centralized configuration management
puppet-el - syntax highlighting for puppet manifests in emacs
puppet-testsuite - Centralized configuration management - test suite
puppetmaster - Centralized configuration management - master startup and
compati
puppetmaster-common - Puppet master common scripts
puppetmaster-passenger - Centralised configuration management - master setup
to run under
vim-puppet - syntax highlighting for puppet manifests in vim
Closes: 571127 584481 593557 593606 593780
Changes:
puppet (2.6.1~rc3-1) experimental; urgency=low
.
[ Mathias Gug ]
* New upstream version:
- fix config.ru file to run puppetmaster as a rack application.
(Closes: #593557)
* Fix test suite to run from a package install rather then from the source
directory:
+ Rakefile: use system puppet.rb file to detect version.
+ spec/unit/application/apply_spec.rb: Fix test suite to use puppet
system library.
+ spec/spec_helper.rb: disable gem.
* Fix init service provider to correctly check the status of services
using upstart jobs (Closes: #584481, LP: #551544).
* etckeeper integration (Closes: #571127)
[server-lucid-puppet-etckeeper-integration]:
+ debian/etckeeper-commit-post, debian/etckeeper-commit-pre:
Call "etckeeper commit" before and after catalog runs.
Silently bail out if etckeeper is not available.
+ debian/puppet.conf: Call out to the etckeeper hooks using
the prerun_command and postrun_command hooks.
+ debian/rules: Install the etckeeper hook scripts in /etc/puppet.
+ debian/README.Debian: add note about etckeeper integration.
+ debian/control: the puppet package suggests etckeeper.
* Create puppetmaster-passenger package to automatically setup the
puppetmaster to be run under mod passenger and apache2:
- create new puppetmaster-common package to share files between
puppetmaster (ie webrick) and puppetmaster-passenger.
- move puppetqd to puppetmaster-common.
- debian/puppet.conf: enable ssl options so that the default configuration
works out of the box under passenger.
* debian/puppet-common.postinst: set permissions and ownership of puppet log
directory.
* Move puppetmaster's Recommends to Suggests.
.
[ Stig Sandbeck Mathisen ]
* Recommend lsb-release (Closes: #593606)
* Recommend debconf-utils (Closes: #593780)
* ext/puppetlast: removed from upstream
* Cherry-pick updated man pages from upstream
Checksums-Sha1:
6e7ce31ebfb62a2754f841537e36ffe35cf51a0b 1569 puppet_2.6.1~rc3-1.dsc
a81afc4b583999047f1b7dae731526655722c4e1 1534363 puppet_2.6.1~rc3.orig.tar.gz
689f8a240c46ec7f1cff62ca4c1f76aaf9963b38 58661 puppet_2.6.1~rc3-1.debian.tar.gz
34a2fe1529ec0a6f9d0f3df3bb27fcb739d712e2 209182 puppet_2.6.1~rc3-1_all.deb
5a3579fa2444d328149da2b8af171b63c7993a6a 206860
puppetmaster-common_2.6.1~rc3-1_all.deb
d7a4c473e4301953291e42b95a81d2f95b25ff32 200990
puppetmaster_2.6.1~rc3-1_all.deb
0691ed088533ab61eb387d953e2b6c4d3b9112a4 199980
puppetmaster-passenger_2.6.1~rc3-1_all.deb
3038d0e219a1d07e021bd02c948dcc3f39ab3bc4 745726
puppet-common_2.6.1~rc3-1_all.deb
90e9d39f589c25cd8ebb8bbe7b78f9518b15867e 199250 vim-puppet_2.6.1~rc3-1_all.deb
51d06fac2579ce3a6a52a9a6ee7706f68cee952f 201248 puppet-el_2.6.1~rc3-1_all.deb
20dd22bee5cc0e6af4cc64cbf09027cfe88f184f 882090
puppet-testsuite_2.6.1~rc3-1_all.deb
Checksums-Sha256:
d0b8425454d9ed02c54b290d97c8e9741d40a2120eb1cd5cd579de71102da52e 1569
puppet_2.6.1~rc3-1.dsc
c957b001a0ccda2311e20ef357fac808f7a5bd20dfaa923be8b7392de01cb546 1534363
puppet_2.6.1~rc3.orig.tar.gz
632b3a8fc0379492b71b8a2ff4beabc1468db61118bc922ae78cae54f986ed98 58661
puppet_2.6.1~rc3-1.debian.tar.gz
0edab6a474aec92fc91ae858ebeae7e7872ca822bf10e4d11afb35ce6bb7c6e4 209182
puppet_2.6.1~rc3-1_all.deb
9a82a2437efb154e6d38d8e97923a1bdd4e82afb80c582517801c75e4c4607d3 206860
puppetmaster-common_2.6.1~rc3-1_all.deb
cfec4e31737b59fbd63a29d3c153847170a4cb19c6352be3d5528059d32dfa5f 200990
puppetmaster_2.6.1~rc3-1_all.deb
f2be27316f4b65cbd7abc66b7fb5b997ec95a5d4016293ef26d4c7be254f27e4 199980
puppetmaster-passenger_2.6.1~rc3-1_all.deb
9743703998b73059cbfb78b41a8ab615e8f324cf6a7c1b6b7f58fa1a70d90a95 745726
puppet-common_2.6.1~rc3-1_all.deb
07207b5340fcfd96f836f14c0fcc53bbafda8f669a7960b0f4c630904f8fe772 199250
vim-puppet_2.6.1~rc3-1_all.deb
e8b996e36ae72e4c15b7490d0950477ccce06c3415cb65c3a11bbb18108336d2 201248
puppet-el_2.6.1~rc3-1_all.deb
4000818a07815701aaf44118b4058f4d2838b431d860519c300d69e30b5d5596 882090
puppet-testsuite_2.6.1~rc3-1_all.deb
Files:
e7b79b9a439ce8143da3cc3a3ee5be3a 1569 admin optional puppet_2.6.1~rc3-1.dsc
833361c65cfb18146dfa070736b09e7f 1534363 admin optional
puppet_2.6.1~rc3.orig.tar.gz
b931a3ad4df2c471b8ad8fb3907e4d18 58661 admin optional
puppet_2.6.1~rc3-1.debian.tar.gz
10c629a0f560faf1a3b9f3c296dcdc59 209182 admin optional
puppet_2.6.1~rc3-1_all.deb
7f7077dfbd3798059a875dd128654f12 206860 admin optional
puppetmaster-common_2.6.1~rc3-1_all.deb
8ad502447a53b666040a0da39bcdabb8 200990 admin optional
puppetmaster_2.6.1~rc3-1_all.deb
dd29edc4b2573b53972f04c24b9a5980 199980 admin optional
puppetmaster-passenger_2.6.1~rc3-1_all.deb
9810d1160f04b52af80273f6a43ba392 745726 admin optional
puppet-common_2.6.1~rc3-1_all.deb
ec058e9f2be5482dbb92a7ad4877230f 199250 admin optional
vim-puppet_2.6.1~rc3-1_all.deb
adb971438fe1a98fbc491966b40c9bde 201248 admin optional
puppet-el_2.6.1~rc3-1_all.deb
4fe073d6ab760b4906d5cf36c78f8c09 882090 admin optional
puppet-testsuite_2.6.1~rc3-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkx3x4oACgkQQONU2fom4u4EQQCgmm4GhOou8WufVmdIs2K0Lriz
aRAAoKYYvCqf1/vGmt98RrVIuNVzRcUS
=+fJk
-----END PGP SIGNATURE-----
--- End Message ---