summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/component.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-13 06:11:39 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-11-13 06:11:39 +0000
commit1bf97cdf3f9b43ee88bda36d1a05aa3d0011598c (patch)
treeb4d143319682a02eef6a69542e4c838003162126 /lib/puppet/parser/ast/component.rb
parent50d28efe13f8ce525b32e16c7c882361a86a9758 (diff)
downloadpuppet-1bf97cdf3f9b43ee88bda36d1a05aa3d0011598c.tar.gz
puppet-1bf97cdf3f9b43ee88bda36d1a05aa3d0011598c.tar.xz
puppet-1bf97cdf3f9b43ee88bda36d1a05aa3d0011598c.zip
Fixing #339, and the bigger problem it concealed. Metaparams are now only added to resources that do not explicitly set them.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1869 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast/component.rb')
-rw-r--r--lib/puppet/parser/ast/component.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/component.rb b/lib/puppet/parser/ast/component.rb
index f67d53b4b..a21a03517 100644
--- a/lib/puppet/parser/ast/component.rb
+++ b/lib/puppet/parser/ast/component.rb
@@ -21,6 +21,10 @@ class Puppet::Parser::AST
# These are retrieved when looking up the superclass
attr_accessor :name
+ def child_of?(klass)
+ false
+ end
+
def evaluate(hash)
origscope = hash[:scope]
objtype = hash[:type]