+1, this patch is giving me deja vu On Tue, May 18, 2010 at 5:14 PM, Matt Robinson <[email protected]> wrote:
> OpenSuSE replaced rug with zypper so our code should too > > Signed-off-by: Matt Robinson <[email protected]> > --- > lib/puppet/provider/package/zypper.rb | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > 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 > -- > 1.7.1 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<puppet-dev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
