summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/component.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-27 22:25:59 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-27 22:25:59 +0000
commit020499c70a69786e24b0136427b87c8967d40690 (patch)
treee4f312d95921d3682f27a0e3be1a663de238d748 /lib/puppet/parser/ast/component.rb
parent8c821c09eebe117bd8b100b6dc416ded0588b979 (diff)
downloadpuppet-020499c70a69786e24b0136427b87c8967d40690.tar.gz
puppet-020499c70a69786e24b0136427b87c8967d40690.tar.xz
puppet-020499c70a69786e24b0136427b87c8967d40690.zip
Removing all of the autoname code
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@953 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast/component.rb')
-rw-r--r--lib/puppet/parser/ast/component.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/puppet/parser/ast/component.rb b/lib/puppet/parser/ast/component.rb
index aa29624fd..0ecdb1d02 100644
--- a/lib/puppet/parser/ast/component.rb
+++ b/lib/puppet/parser/ast/component.rb
@@ -10,7 +10,7 @@ class Puppet::Parser::AST
# The class name
@name = :component
- attr_accessor :type, :args, :code, :scope, :autoname, :keyword
+ attr_accessor :type, :args, :code, :scope, :keyword
#def evaluate(scope,hash,objtype,objname)
def evaluate(hash)
@@ -22,8 +22,7 @@ class Puppet::Parser::AST
scope = scope.newscope(
:type => @type,
:name => objname,
- :keyword => self.keyword,
- :autoname => self.autoname
+ :keyword => self.keyword
)
if hash[:newcontext]
#scope.warning "Setting context to %s" % self.object_id
@@ -40,11 +39,6 @@ class Puppet::Parser::AST
#scope.keyword = self.keyword
- # Retain the fact that we were autonamed, if so
- if self.autoname
- scope.autoname = true
- end
-
#if self.is_a?(Node)
# scope.isnodescope
#end