summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/fileparsing.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-06 17:59:37 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-06 17:59:37 +0000
commit5e419cf750dc1ac9572616b7318d7501d9d366ed (patch)
treedb2044b548adf4af668698fcd6fbada37a2f5cfe /lib/puppet/util/fileparsing.rb
parentd121b1f06e40067c499a1a8ef9e805298c20c9a2 (diff)
downloadpuppet-5e419cf750dc1ac9572616b7318d7501d9d366ed.tar.gz
puppet-5e419cf750dc1ac9572616b7318d7501d9d366ed.tar.xz
puppet-5e419cf750dc1ac9572616b7318d7501d9d366ed.zip
Fixing #749 -- environment settings no longer accumulate. Significantly adding to the cron tests at the same time, such that hopefully we will no longer have these recurring bugs. I now do every combinatorial of multi-line cron jobs, including doing them all in one file. There are, unfortunately, still edge cases, but maybe we will have some peace in cron space for a while, anyway.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2750 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/util/fileparsing.rb')
-rw-r--r--lib/puppet/util/fileparsing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/fileparsing.rb b/lib/puppet/util/fileparsing.rb
index 8e69681cf..6a04dee5a 100644
--- a/lib/puppet/util/fileparsing.rb
+++ b/lib/puppet/util/fileparsing.rb
@@ -320,7 +320,7 @@ module Puppet::Util::FileParsing
# Convert our parsed record into a text record.
def to_line(details)
unless record = record_type(details[:record_type])
- raise ArgumentError, "Invalid record type %s" % details[:record_type]
+ raise ArgumentError, "Invalid record type %s" % details[:record_type].inspect
end
if record.respond_to?(:pre_gen)