diff options
author | Luke Kanies <luke@madstop.com> | 2009-02-13 21:09:07 -0600 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-02-14 22:42:51 +1100 |
commit | cb0a083a4c7447d6da2f6a1ce6725cedeb831db1 (patch) | |
tree | 2b1260af28a695a6900ae643db553d2a296ff342 /lib | |
parent | 84bd5285db5a80b01dd0359387516210ccb5b625 (diff) | |
download | puppet-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.rb | 2 |
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 |