From ac0454a4bfcf6e9ecd3f3eb6037f04caa3c3ce59 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 16 Sep 2005 04:14:32 +0000 Subject: making "Type.new" private, and switching to "Type.create", so that i can merge new objects with existing objects and such; converted all files, and tested them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@674 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/server/fileserver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/server') diff --git a/lib/puppet/server/fileserver.rb b/lib/puppet/server/fileserver.rb index 04449c025..a666b4c7a 100755 --- a/lib/puppet/server/fileserver.rb +++ b/lib/puppet/server/fileserver.rb @@ -27,7 +27,7 @@ class Server obj = nil unless obj = Puppet::Type::PFile[dir] - obj = Puppet::Type::PFile.new( + obj = Puppet::Type::PFile.create( :name => dir, :check => CHECKPARAMS ) -- cgit