diff options
author | Tim Smith <tsmith@chef.io> | 2017-09-30 13:51:58 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-02-26 12:22:02 -0800 |
commit | 2e25f81b11cb6bb79240757efb85eb05baa60610 (patch) | |
tree | b26d667aa5175505956369e4f2acb219d49e1fa5 | |
parent | ff84c631c7861c4008a6ad76e9317218b169ded4 (diff) | |
download | chef-2e25f81b11cb6bb79240757efb85eb05baa60610.tar.gz |
More YARD
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/apt_repository.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/provider/apt_repository.rb b/lib/chef/provider/apt_repository.rb index d1e60ff1cd..af4ed10d07 100644 --- a/lib/chef/provider/apt_repository.rb +++ b/lib/chef/provider/apt_repository.rb @@ -244,6 +244,10 @@ class Chef raise "Could not access Launchpad ppa API: #{e.message}" end + # determine if the repository URL is a PPA + # @param [String] url the url of the repository + # + # @return [Boolean] is the repo URL a PPA def is_ppa_url?(url) url.start_with?("ppa:") end |