diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-06-18 15:43:29 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-06-18 15:43:29 -0700 |
commit | 18170499f78e0c1aa71a57b42a575afa70a4d3fa (patch) | |
tree | 8f5798aed3633258675c0ba5f3a5d8eb38b923b3 | |
parent | 6bc27beef1acd5cdcb259f4994effb6ac96bcbce (diff) | |
download | chef-18170499f78e0c1aa71a57b42a575afa70a4d3fa.tar.gz |
Full path -> Absolute path
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/alternatives.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/dmg_package.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/sudo.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/alternatives.rb b/lib/chef/resource/alternatives.rb index 58de3d5102..fe5af6b7b6 100644 --- a/lib/chef/resource/alternatives.rb +++ b/lib/chef/resource/alternatives.rb @@ -89,7 +89,7 @@ class Chef description: "The path to the alternatives link." property :path, String, - description: "The full path to the original application binary such as `/usr/bin/ruby27`." + description: "The absolute path to the original application binary such as `/usr/bin/ruby27`." property :priority, [String, Integer], coerce: proc { |n| n.to_i }, diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb index b1d464b547..1b996e4c5e 100644 --- a/lib/chef/resource/dmg_package.rb +++ b/lib/chef/resource/dmg_package.rb @@ -66,7 +66,7 @@ class Chef description: "The remote URL that is used to download the `.dmg` file, if specified." property :file, String, - description: "The full path to the `.dmg` file on the local system." + description: "The absolute path to the `.dmg` file on the local system." property :owner, [String, Integer], description: "The user that should own the package installation." diff --git a/lib/chef/resource/sudo.rb b/lib/chef/resource/sudo.rb index 4dd56fd311..d7babd8f96 100644 --- a/lib/chef/resource/sudo.rb +++ b/lib/chef/resource/sudo.rb @@ -139,7 +139,7 @@ class Chef # handle legacy cookbook property def after_created - raise "The 'visudo_path' property from the sudo cookbook has been replaced with the 'visudo_binary' property. The path is now more intelligently determined and for most users specifying the path should no longer be necessary. If this resource still cannot determine the path to visudo then provide the full path to the binary with the 'visudo_binary' property." if visudo_path + raise "The 'visudo_path' property from the sudo cookbook has been replaced with the 'visudo_binary' property. The path is now more intelligently determined and for most users specifying the path should no longer be necessary. If this resource still cannot determine the path to visudo then provide the absolute path to the binary with the 'visudo_binary' property." if visudo_path end # VERY old legacy properties |