diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-01-27 13:28:01 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-01-27 13:28:01 -0800 |
commit | 26ee51459cf7df669981cf3c7185001c5eeba9d8 (patch) | |
tree | 6687cf7a5853160238dc82d78670c5c640ab1207 | |
parent | 8b78fe904689dd6539e308fb87bffe103fb852f1 (diff) | |
download | chef-26ee51459cf7df669981cf3c7185001c5eeba9d8.tar.gz |
apt_repository: add a description for components when using a PPAppa_default_description
When you're using a PPA there's a default here that doesn't apply to non-PPA repos.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/apt_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_repository.rb b/lib/chef/resource/apt_repository.rb index 2fefded6fd..4c23c5bdb5 100644 --- a/lib/chef/resource/apt_repository.rb +++ b/lib/chef/resource/apt_repository.rb @@ -120,7 +120,7 @@ class Chef property :components, Array, description: "Package groupings, such as 'main' and 'stable'.", - default: lazy { [] } + default: lazy { [] }, default_description: "If using a PPA this will be 'main'." property :arch, [String, nil, FalseClass], description: "Constrain packages to a particular CPU architecture such as 'i386' or 'amd64'." |