summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-01-28 11:20:22 -0800
committerGitHub <noreply@github.com>2020-01-28 11:20:22 -0800
commite2f1726d04973f6d51f572a22fb3de97856d367c (patch)
tree1fc5debfb7311c8022cbf460d7324be9c74a1b68
parentde71b21a9ed8ea6725f8e4e1eafada0943a33fee (diff)
parentf870ec5c2c684f8fccb805d444cbb97b2f1ace2d (diff)
downloadchef-e2f1726d04973f6d51f572a22fb3de97856d367c.tar.gz
Merge pull request #9289 from chef/ppa_default_description
apt_repository: add a description for components when using a PPA
-rw-r--r--lib/chef/resource/apt_repository.rb2
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..ed29de0652 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: "'main' if using a PPA repository."
property :arch, [String, nil, FalseClass],
description: "Constrain packages to a particular CPU architecture such as 'i386' or 'amd64'."