diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-12 21:04:06 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-12 21:04:06 +0000 |
commit | f420135270ab66c7bad10ebc4b031ddac3b57659 (patch) | |
tree | 558fd25f3b4e9881c20a7123fbef5d5b715ca7ff /lib/puppet/log.rb | |
parent | 8aa331d7b31033b1a7594a0020e8462f646241cf (diff) | |
download | puppet-f420135270ab66c7bad10ebc4b031ddac3b57659.tar.gz puppet-f420135270ab66c7bad10ebc4b031ddac3b57659.tar.xz puppet-f420135270ab66c7bad10ebc4b031ddac3b57659.zip |
Converting transport format to YAML instead of Marshal, and caching the file in a YAML format, also. This required a significant rework of both Transportable classes. Lastly, I am also now caching the list of classes in a class file in /etc/puppet.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@816 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/log.rb')
-rw-r--r-- | lib/puppet/log.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/log.rb b/lib/puppet/log.rb index 7d4b750c7..6b7aa506d 100644 --- a/lib/puppet/log.rb +++ b/lib/puppet/log.rb @@ -216,9 +216,9 @@ module Puppet # :nodoc: begin #puts "would have sent %s" % msg #puts "would have sent %s" % - # CGI.escape(Marshal::dump(msg)) + # CGI.escape(YAML.dump(msg)) begin - tmp = CGI.escape(Marshal::dump(msg)) + tmp = CGI.escape(YAML.dump(msg)) rescue => detail puts "Could not dump: %s" % detail.to_s return |