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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/vardef.rb b/lib/puppet/parser/ast/vardef.rb
index ee79159d7..a3094ac6e 100644
--- a/lib/puppet/parser/ast/vardef.rb
+++ b/lib/puppet/parser/ast/vardef.rb
@@ -3,7 +3,7 @@ require 'puppet/parser/ast/branch'
class Puppet::Parser::AST
# Define a variable. Stores the value in the current scope.
class VarDef < AST::Branch
- attr_accessor :name, :value
+ attr_accessor :name, :value, :append
@settor = true
@@ -14,7 +14,7 @@ class Puppet::Parser::AST
value = @value.safeevaluate(scope)
parsewrap do
- scope.setvar(name,value, @file, @line)
+ scope.setvar(name,value, @file, @line, @append)
end
end