diff options
| author | Luke Kanies <luke@madstop.com> | 2008-08-25 18:00:42 -0700 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-08-26 22:40:42 -0700 |
| commit | 8b45d13ab28837caf3bb09cc1c90ab61974bf4db (patch) | |
| tree | f249010d44605ec22db96130d280039a8882a672 /lib/puppet/network/handler | |
| parent | 6ed8dfaf7c0cf091dca0374de310f524b0a033cc (diff) | |
| download | puppet-8b45d13ab28837caf3bb09cc1c90ab61974bf4db.tar.gz puppet-8b45d13ab28837caf3bb09cc1c90ab61974bf4db.tar.xz puppet-8b45d13ab28837caf3bb09cc1c90ab61974bf4db.zip | |
Adding automatic attribute collection to the new fileserving code.
Basically, this just includes a consistent method for collecting
info (either content or metadata) and then calls that method
when returning instances via the indirector.
It's such a large commit mostly because of small changes in the normal
code and large changes in the testing to accomodate those small changes.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/network/handler')
| -rwxr-xr-x | lib/puppet/network/handler/fileserver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/handler/fileserver.rb b/lib/puppet/network/handler/fileserver.rb index 183979429..14319ef96 100755 --- a/lib/puppet/network/handler/fileserver.rb +++ b/lib/puppet/network/handler/fileserver.rb @@ -75,7 +75,7 @@ class Puppet::Network::Handler return "" unless metadata.exist? begin - metadata.collect_attributes + metadata.collect rescue => detail puts detail.backtrace if Puppet[:trace] Puppet.err detail |
