[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35
test branch
puppet-dev at googlegroups.com
Wed Jul 14 10:35:02 UTC 2010
The following commit has been merged in the upstream branch:
commit 0fc41aed7056e645f1d41a7ef6a00a34344dde38
Author: Matt Robinson <matt at puppetlabs.com>
Date: Tue May 18 17:02:03 2010 -0700
[#3802] Replace rug with zypper
OpenSuSE replaced rug with zypper so our code should too
Signed-off-by: Matt Robinson <matt at puppetlabs.com>
diff --git a/lib/puppet/provider/package/zypper.rb b/lib/puppet/provider/package/zypper.rb
index 2a9c2b3..03a504f 100644
--- a/lib/puppet/provider/package/zypper.rb
+++ b/lib/puppet/provider/package/zypper.rb
@@ -3,8 +3,8 @@ Puppet::Type.type(:package).provide :zypper, :parent => :rpm do
has_feature :versionable
- commands :rug => "/usr/bin/zypper"
- commands :rpm => "rpm"
+ commands :zypper => "/usr/bin/zypper"
+ commands :rpm => "rpm"
confine :operatingsystem => [:suse, :sles, :sled, :opensuse]
@@ -39,14 +39,14 @@ Puppet::Type.type(:package).provide :zypper, :parent => :rpm do
if output =~ /#{Regexp.escape @resource[:name]}\s*\|\s*([^\s\|]+)/
return $1
else
- # rug didn't find updates, pretend the current
+ # zypper didn't find updates, pretend the current
# version is the latest
return @property_hash[:ensure]
end
end
def update
- # rug install can be used for update, too
+ # zypper install can be used for update, too
self.install
end
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list