summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/handler/fileserver.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-12-17 18:29:58 -0600
committerLuke Kanies <luke@madstop.com>2008-12-18 11:10:25 -0600
commite4ba3db1963081eacc2aef3d865f777b427ef23c (patch)
tree55a4aa8cdde262880a8affb6cbd4470d49c10c55 /lib/puppet/network/handler/fileserver.rb
parentb6db54585177f277b1e06bebd4d925d5c272b610 (diff)
downloadpuppet-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/handler/fileserver.rb')
-rwxr-xr-xlib/puppet/network/handler/fileserver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/handler/fileserver.rb b/lib/puppet/network/handler/fileserver.rb
index d50ba7eea..4e00b605f 100755
--- a/lib/puppet/network/handler/fileserver.rb
+++ b/lib/puppet/network/handler/fileserver.rb
@@ -512,7 +512,7 @@ class Puppet::Network::Handler
# the effort.
obj[:check] = CHECKPARAMS
else
- obj = Puppet::Type.type(:file).create(
+ obj = Puppet::Type.type(:file).new(
:name => file_path(path, client),
:check => CHECKPARAMS
)