From 3cd48d836c9ffe4e59bca78f1033020cecf63354 Mon Sep 17 00:00:00 2001 From: Nick Lewis Date: Tue, 29 Jun 2010 15:49:31 -0700 Subject: [#4089] Replace internal usage of :check with :audit Per Luke's replacement of :check with :audit, and deprecation of :check, I've replaced all of our internal uses of :check with :audit. Importantly, this silence the deprecation warnings during regular usage from eg. ralsh. --- lib/puppet/network/handler/fileserver.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/puppet/network/handler') diff --git a/lib/puppet/network/handler/fileserver.rb b/lib/puppet/network/handler/fileserver.rb index bed232fc3..84af5ac55 100755 --- a/lib/puppet/network/handler/fileserver.rb +++ b/lib/puppet/network/handler/fileserver.rb @@ -513,11 +513,11 @@ class Puppet::Network::Handler # important one. It'd be nice if we didn't just set # the check params every time, but I'm not sure it's worth # the effort. - obj[:check] = CHECKPARAMS + obj[:audit] = CHECKPARAMS else obj = Puppet::Type.type(:file).new( :name => file_path(path, client), - :check => CHECKPARAMS + :audit => CHECKPARAMS ) @files[file_path(path, client)] = obj end -- cgit