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/util/settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/util') diff --git a/lib/puppet/util/settings.rb b/lib/puppet/util/settings.rb index 2dedc31da..780461d4b 100644 --- a/lib/puppet/util/settings.rb +++ b/lib/puppet/util/settings.rb @@ -469,7 +469,7 @@ class Puppet::Util::Settings return @service_user_available = false unless user_name = self[:user] - user = Puppet::Type.type(:user).new :name => self[:user], :check => :ensure + user = Puppet::Type.type(:user).new :name => self[:user], :audit => :ensure return @service_user_available = user.exists? end -- cgit