diff options
author | Lance Albertson <lance@osuosl.org> | 2020-08-18 09:51:08 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2020-09-15 14:04:36 -0700 |
commit | b1d85847cfa1c15840c9768bdbb36a77d3d5abbf (patch) | |
tree | b8f08583fed777a8479450f982025a88be668007 /lib/chef/resource/macos_userdefaults.rb | |
parent | 7dabc07d5ee1970f22fb9e6366eb7139386d30da (diff) | |
download | chef-b1d85847cfa1c15840c9768bdbb36a77d3d5abbf.tar.gz |
Move chef-config/dist to chef-utils/dist
This migrates constants used in chef-config/dist to chef-utils/dist so that they
all reside in one place. Other changes include:
- Remove Compliance, Inspec, Run, Inspec, Workstation class constants as they
are new and not being used yet. Leave this to be added in a later PR.
Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'lib/chef/resource/macos_userdefaults.rb')
-rw-r--r-- | lib/chef/resource/macos_userdefaults.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index ab789635e7..7ac4b20a6d 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -16,7 +16,7 @@ # require_relative "../resource" -require_relative "../dist" +require "chef-utils/dist" autoload :Plist, "plist" class Chef @@ -97,7 +97,7 @@ class Chef desired_state: false property :sudo, [TrueClass, FalseClass], - description: "Set to true if the setting you wish to modify requires privileged access. This requires passwordless sudo for the '/usr/bin/defaults' command to be setup for the user running #{Chef::Dist::PRODUCT}.", + description: "Set to true if the setting you wish to modify requires privileged access. This requires passwordless sudo for the '/usr/bin/defaults' command to be setup for the user running #{ChefUtils::Dist::Infra::PRODUCT}.", default: false, desired_state: false |