diff options
| author | Luke Kanies <luke@madstop.com> | 2008-12-17 18:29:58 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-12-18 11:10:25 -0600 |
| commit | e4ba3db1963081eacc2aef3d865f777b427ef23c (patch) | |
| tree | 55a4aa8cdde262880a8affb6cbd4470d49c10c55 /lib/puppet/network/client | |
| parent | b6db54585177f277b1e06bebd4d925d5c272b610 (diff) | |
| download | puppet-e4ba3db1963081eacc2aef3d865f777b427ef23c.tar.gz puppet-e4ba3db1963081eacc2aef3d865f777b427ef23c.tar.xz puppet-e4ba3db1963081eacc2aef3d865f777b427ef23c.zip | |
Deprecating the Puppet::Type.create.
This method is no longer necessary; you can use the
normal 'new' class method.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/network/client')
| -rw-r--r-- | lib/puppet/network/client/master.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/client/master.rb b/lib/puppet/network/client/master.rb index f86c9bb01..047f2b82a 100644 --- a/lib/puppet/network/client/master.rb +++ b/lib/puppet/network/client/master.rb @@ -320,7 +320,7 @@ class Puppet::Network::Client::Master < Puppet::Network::Client hash[:ignore] = args[:ignore].split(/\s+/) end downconfig = Puppet::Resource::Catalog.new("downloading") - downconfig.add_resource Puppet::Type.type(:file).create(hash) + downconfig.add_resource Puppet::Type.type(:file).new(hash) Puppet.info "Retrieving #{args[:name]}s" |
