Package: puppet
Version: 0.18.0-1
Severity: normal
Tags: patch
Hi!
puppet fails to detect services which are only started in the S runlevel
due to a too narrow regexp in
/usr/lib/ruby/1.8/puppet/type/service/debian.rb
Additionally, this only works with sysv-rc and not with file-rc.
Please apply this patch to fix that.
--- debian.rb.orig 2006-07-15 15:26:31.000000000 +0000
+++ /usr/lib/ruby/1.8/puppet/type/service/debian.rb 2006-07-15
15:27:59.000000000 +0000
@@ -26,7 +26,7 @@
# If it's enabled, then it will print output showing removal of
# links.
- if output =~ /etc\/rc\d.d/
+ if output =~ /etc\/rc[\dS].d|Nothing to do\./
return :true
else
return :false
Thank you for your time and work!
Regards, David
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-vserver-686
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Versions of packages puppet depends on:
ii adduser 3.92 Add and remove users and groups
ii facter 1.3.3-1 a library for retrieving facts fro
ii libopenssl-ruby 1.0.0+ruby1.8.2-1 OpenSSL interface for Ruby
ii libxmlrpc-ruby 1.8.2-1 XML-RPC support for Ruby
ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip
ii ruby 1.8.2-1 An interpreter of object-oriented
Versions of packages puppet recommends:
ii rdoc 1.8.2-1 Generate documentation from ruby s
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]