summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/settings.rb
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2010-06-29 15:49:31 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-01 13:48:01 -0700
commit3cd48d836c9ffe4e59bca78f1033020cecf63354 (patch)
tree226f0dc6f00ac5160bcb232dae743ace05eec1fc /lib/puppet/util/settings.rb
parente848d4104350543241fa1a84aa3eaaf3a27d2616 (diff)
downloadpuppet-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/util/settings.rb')
-rw-r--r--lib/puppet/util/settings.rb2
1 files changed, 1 insertions, 1 deletions
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