diff options
author | Nick Lewis <nick@puppetlabs.com> | 2010-06-29 15:49:31 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-07-01 13:48:01 -0700 |
commit | 3cd48d836c9ffe4e59bca78f1033020cecf63354 (patch) | |
tree | 226f0dc6f00ac5160bcb232dae743ace05eec1fc /lib/puppet/network | |
parent | e848d4104350543241fa1a84aa3eaaf3a27d2616 (diff) | |
download | puppet-3cd48d836c9ffe4e59bca78f1033020cecf63354.tar.gz puppet-3cd48d836c9ffe4e59bca78f1033020cecf63354.tar.xz puppet-3cd48d836c9ffe4e59bca78f1033020cecf63354.zip |
[#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.
Diffstat (limited to 'lib/puppet/network')
-rwxr-xr-x | lib/puppet/network/handler/fileserver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |