diff options
author | Tim Smith <tsmith@chef.io> | 2018-11-13 22:08:22 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-11-20 14:09:48 -0800 |
commit | 656e641a175f28734703b1f2dbf020785f641325 (patch) | |
tree | 2e068d190fa6db9f3657a6a0b60a4fa153420ee5 /lib/chef/resource/dmg_package.rb | |
parent | 6db3916c7bed81df3c069aa4f307b0c5c0e5f0b5 (diff) | |
download | chef-656e641a175f28734703b1f2dbf020785f641325.tar.gz |
Improve resource descriptions for documentation
Mostly cleaning up how we describe name properties, but also copying over some edits that happened on the docs site.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/dmg_package.rb')
-rw-r--r-- | lib/chef/resource/dmg_package.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/chef/resource/dmg_package.rb b/lib/chef/resource/dmg_package.rb index cd2f0b5c3a..93dfd524b8 100644 --- a/lib/chef/resource/dmg_package.rb +++ b/lib/chef/resource/dmg_package.rb @@ -27,31 +27,31 @@ class Chef introduced "14.0" property :app, String, - description: "The name of the application used by default for the /Volumes directory and the .app directory copied to /Applications.", + description: "The name of the application as it appears in the /Volumes directory, if it differs from the resource block name.", name_property: true property :source, String, - description: "The remote URL for the dmg to download if specified." + description: "The remote URL that is used to download the .dmg file, if specified." property :file, String, - description: "The local dmg full file path." + description: "The full path to the .dmg file on the local system." property :owner, String, - description: "The owner that should own the package installation." + description: "The user that should own the package installation." property :destination, String, description: "The directory to copy the .app into.", default: "/Applications" property :checksum, String, - description: "The sha256 checksum of the dmg to download." + description: "The sha256 checksum of the .dmg file to download." property :volumes_dir, String, - description: "The Directory under /Volumes where the dmg is mounted as not all dmgs are mounted into a /Volumes location matching the name of the dmg.", + description: "The directory under /Volumes where the dmg is mounted, if it differs from the name of the .dmg file.", default: lazy { |r| r.app }, default_description: "The value passed for the application name." property :dmg_name, String, - description: "The name of the dmg if it is not the same as app, or if the name has spaces.", + description: "The name of the .dmg file if it differs from that of the app, or if the name has spaces.", desired_state: false, default: lazy { |r| r.app }, default_description: "The value passed for the application name." @@ -61,10 +61,10 @@ class Chef default: "app", desired_state: false property :package_id, String, - description: "The package id registered with pkgutil when a pkg or mpkg is installed." + description: "The package ID that is registered with pkgutil when a pkg or mpkg is installed." property :dmg_passphrase, String, - description: "Specify a passphrase to use to unencrypt the dmg while mounting.", + description: "Specify a passphrase to be used to decrypt the .dmg file during the mount process.", desired_state: false property :accept_eula, [TrueClass, FalseClass], |