[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.1rc1-141-gcdb2b90

Markus Roberts Markus at reality.com
Mon Aug 16 12:48:58 UTC 2010


The following commit has been merged in the upstream branch:
commit 037bb329f090ce86227fc62b51d081831fa9de03
Author: Nick Lewis <nick at puppetlabs.com>
Date:   Tue Aug 3 17:58:52 2010 -0700

    [#4404] Remove requirement for source on Parser::Resource::Param
    
    Stage[main] is created without an associated source, to which
    Parser::Resource::Param objects. This patch observes that the source
    attribute of both Parser::Resource and Parser::Resource::Param seem
    not to be used anywhere, and removes the requirement that it be
    supplied.

diff --git a/lib/puppet/parser/resource/param.rb b/lib/puppet/parser/resource/param.rb
index af2d98f..c283223 100644
--- a/lib/puppet/parser/resource/param.rb
+++ b/lib/puppet/parser/resource/param.rb
@@ -13,7 +13,7 @@ class Puppet::Parser::Resource::Param
 
   def initialize(hash)
     set_options(hash)
-    requiredopts(:name, :value, :source)
+    requiredopts(:name, :value)
     @name = symbolize(@name)
   end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list