summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/resource
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-03 23:49:53 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-03 23:49:53 +0000
commit97cd057177f18a0e6694aab0e440f86e0bf08d42 (patch)
tree31a9808aa723180eb43f4fc2c952c3824f89d5d7 /lib/puppet/parser/resource
parent72f2ac39e036d3fea88569d17f3e455670bba063 (diff)
downloadpuppet-97cd057177f18a0e6694aab0e440f86e0bf08d42.tar.gz
puppet-97cd057177f18a0e6694aab0e440f86e0bf08d42.tar.xz
puppet-97cd057177f18a0e6694aab0e440f86e0bf08d42.zip
Fixing #314 and #729; here's the changelog:
Refactored how the parser and interpreter relate, so parsing is now effectively an atomic process (thus fixing #314 and #729). This makes the interpreter less prone to error and less prone to show the error to the clients. Note that this means that if a configuration fails to parse, then the previous, parseable configuration will be used instead, so the client will not know that the configuration failed to parse. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2742 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/resource')
-rw-r--r--lib/puppet/parser/resource/param.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/resource/param.rb b/lib/puppet/parser/resource/param.rb
index fc3d72c85..4332bee85 100644
--- a/lib/puppet/parser/resource/param.rb
+++ b/lib/puppet/parser/resource/param.rb
@@ -12,7 +12,7 @@ class Puppet::Parser::Resource::Param
end
def inspect
- "#<#{self.class} @name => #{self.name}, @value => #{self.value}, @source => #{self.source.type}>"
+ "#<#{self.class} @name => #{self.name}, @value => #{self.value}, @source => #{self.source.name}>"
end
def line_to_i