Permalink
Browse files

Fixing compatibility with new Interface work

We're now using instances, so you don't need to use
'new' to get a useful interface.

Signed-off-by: Luke Kanies <luke@puppetlabs.com>
  • Loading branch information...
1 parent 22f9db7 commit 6f7747c0ff783faa5bacbe6e45ff3df05cd80378 @lak lak committed Feb 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/puppet/interface/catalog/download.rb
@@ -13,7 +13,7 @@
Puppet::Resource::Catalog.indirection.terminus_class = :yaml
Puppet::Resource::Catalog.indirection.save catalog
- bucket = Puppet::Interface::File.new
+ bucket = Puppet::Interface::File
# For every checksum mentioned in the catalog, make sure they're in our local filebucket.
catalog.resources.find_all { |res| res.type == "File" }.each do |resource|

0 comments on commit 6f7747c

Please sign in to comment.