[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Markus Roberts Markus at reality.com
Wed Jul 14 10:36:08 UTC 2010


The following commit has been merged in the upstream branch:
commit ab3d27c1bd9f856b10484afe33e7cec708cf8690
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Wed Jun 30 14:04:58 2010 -0700

    [#4059] Minor errors preventing ralsh from running

diff --git a/lib/puppet/application/resource.rb b/lib/puppet/application/resource.rb
index ae80307..df18cb5 100644
--- a/lib/puppet/application/resource.rb
+++ b/lib/puppet/application/resource.rb
@@ -1,5 +1,4 @@
 require 'puppet/application'
-require 'facter'
 
 class Puppet::Application::Resource < Puppet::Application
 
@@ -83,7 +82,7 @@ class Puppet::Application::Resource < Puppet::Application
             if params.empty?
                 [ Puppet::Resource.find( key ) ]
             else
-                [ Puppet::Resource.new( type, name, params ).save( key ) ]
+                [ Puppet::Resource.new( type, name, :parameters => params ).save( key ) ]
             end
         else
             Puppet::Resource.search( key, {} )

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list