summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/vardef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/ast/vardef.rb')
-rw-r--r--lib/puppet/parser/ast/vardef.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/vardef.rb b/lib/puppet/parser/ast/vardef.rb
index 30eef204a..145700e27 100644
--- a/lib/puppet/parser/ast/vardef.rb
+++ b/lib/puppet/parser/ast/vardef.rb
@@ -3,6 +3,8 @@ class Puppet::Parser::AST
class VarDef < AST::Branch
attr_accessor :name, :value
+ @settor = true
+
# Look up our name and value, and store them appropriately. The
# lexer strips off the syntax stuff like '$'.
def evaluate(hash)