summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-13 21:09:07 -0600
committerJames Turnbull <james@lovedthanlost.net>2009-02-14 22:42:51 +1100
commitcb0a083a4c7447d6da2f6a1ce6725cedeb831db1 (patch)
tree2b1260af28a695a6900ae643db553d2a296ff342 /lib
parent84bd5285db5a80b01dd0359387516210ccb5b625 (diff)
downloadpuppet-cb0a083a4c7447d6da2f6a1ce6725cedeb831db1.tar.gz
puppet-cb0a083a4c7447d6da2f6a1ce6725cedeb831db1.tar.xz
puppet-cb0a083a4c7447d6da2f6a1ce6725cedeb831db1.zip
Using Puppet::Type.new instead of create
create() got deprecated and I apparently missed changing this. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/configurer/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/configurer/downloader.rb b/lib/puppet/configurer/downloader.rb
index 89af0233e..8a2eb0b82 100644
--- a/lib/puppet/configurer/downloader.rb
+++ b/lib/puppet/configurer/downloader.rb
@@ -57,7 +57,7 @@ class Puppet::Configurer::Downloader
def file
args = default_arguments.merge(:path => path, :source => source)
args[:ignore] = ignore if ignore
- Puppet::Type.type(:file).create(args)
+ Puppet::Type.type(:file).new(args)
end
private