--- /var/ruby/1.8/gem_home/gems/puppet-0.25.3/lib/puppet/provider/package/blastwave.rb.puppet-bak	Thu Jan 14 21:16:23 2010
+++ /var/ruby/1.8/gem_home/gems/puppet-0.25.3/lib/puppet/provider/package/blastwave.rb	Tue Jan 19 23:54:45 2010
@@ -10,8 +10,8 @@
 
     commands :pkgget => pkgget
 
-    def pkgget_with_cat(*args)
-        withenv(:PAGER => "/usr/bin/cat") { pkgget(*args) }
+    def self.pkgget_with_cat(*args)
+        Puppet::Util::Execution.withenv(:PAGER => "/usr/bin/cat") { pkgget(*args) }
     end
 
     def self.extended(mod)
@@ -89,7 +89,7 @@
     end
 
     def install
-        pkgget_with_cat "-f", :install, @resource[:name]
+        self.class.pkgget_with_cat "-f", :install, @resource[:name]
     end
 
     # Retrieve the version from the current package file.
@@ -108,11 +108,11 @@
 
     # Remove the old package, and install the new one
     def update
-        pkgget_with_cat "-f", :upgrade, @resource[:name]
+        self.class.pkgget_with_cat "-f", :upgrade, @resource[:name]
     end
 
     def uninstall
-        pkgget_with_cat "-f", :remove, @resource[:name]
+        self.class.pkgget_with_cat "-f", :remove, @resource[:name]
     end
 end
 

