diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-08-03 17:58:52 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-08-04 17:52:35 -0700 |
commit | 037bb329f090ce86227fc62b51d081831fa9de03 (patch) | |
tree | fe333006162b62ed27f1fed6f20a49001cf0c307 /lib | |
parent | 0e4bc62716a37cc82a8a5dbb5865ac7f45cf71b2 (diff) | |
download | puppet-037bb329f090ce86227fc62b51d081831fa9de03.tar.gz puppet-037bb329f090ce86227fc62b51d081831fa9de03.tar.xz puppet-037bb329f090ce86227fc62b51d081831fa9de03.zip |
[#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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/resource/param.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/resource/param.rb b/lib/puppet/parser/resource/param.rb index af2d98fe8..c28322337 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 |