[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5
James Turnbull
james at lovedthanlost.net
Wed Apr 8 21:48:11 UTC 2009
The following commit has been merged in the master branch:
commit 2218611f7fa10b59945f65c80b05cbd8ebe137ef
Author: James Turnbull <james at lovedthanlost.net>
Date: Fri Feb 13 17:04:36 2009 +1100
Updated up2date and service confines to add support for Oracle EL and VM
diff --git a/CHANGELOG b/CHANGELOG
index 329e700..a8e8287 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
0.24.8
+ Updated up2date and service confines to add support for Oracle EL and VM
+
Fixing #1948 and #1953 - augeas ins bug: wrong number of arguments (1 for 3)
Fixing #944 - changing error message from warning to info - connection recycled
diff --git a/lib/puppet/provider/package/up2date.rb b/lib/puppet/provider/package/up2date.rb
index dde633d..8a1c228 100644
--- a/lib/puppet/provider/package/up2date.rb
+++ b/lib/puppet/provider/package/up2date.rb
@@ -3,9 +3,11 @@ Puppet.type(:package).provide :up2date, :parent => :rpm, :source => :rpm do
mechanism."
commands :up2date => "/usr/sbin/up2date-nox"
- defaultfor :operatingsystem => :redhat,
+
+ defaultfor :operatingsystem => [:redhat, :oel, :ovm]
:lsbdistrelease => ["2.1", "3", "4"]
- confine :operatingsystem => :redhat
+
+ confine :operatingsystem => [:redhat, :oel, :ovm]
# Install a package using 'up2date'.
def install
diff --git a/lib/puppet/provider/service/redhat.rb b/lib/puppet/provider/service/redhat.rb
index c6c3540..031db46 100755
--- a/lib/puppet/provider/service/redhat.rb
+++ b/lib/puppet/provider/service/redhat.rb
@@ -9,7 +9,7 @@ Puppet::Type.type(:service).provide :redhat, :parent => :init do
commands :chkconfig => "/sbin/chkconfig", :service => "/sbin/service"
- defaultfor :operatingsystem => [:redhat, :fedora, :suse, :centos, :sles]
+ defaultfor :operatingsystem => [:redhat, :fedora, :suse, :centos, :sles, :oel, :ovm]
def self.defpath
superclass.defpath
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list