summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-21 12:19:44 -0800
committerTim Smith <tsmith@chef.io>2017-12-21 12:19:44 -0800
commit66d2ebe5b8b9c4a6f7b3ca69d6a92eb48c0e0358 (patch)
treec07487f6b00209423b7698ccdac8984739d06e8c
parent37bacbbc9d6ca124af631acf72109a992b255e6a (diff)
downloadchef-66d2ebe5b8b9c4a6f7b3ca69d6a92eb48c0e0358.tar.gz
Remove a useless regex in zypper_repositoryuseless_regex
Pretty sure I mistakenly copied this from yum_repository. There's no real point and it's just going to slow things down. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/zypper_repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/zypper_repository.rb b/lib/chef/resource/zypper_repository.rb
index c0ec111c25..72e0074b2a 100644
--- a/lib/chef/resource/zypper_repository.rb
+++ b/lib/chef/resource/zypper_repository.rb
@@ -43,7 +43,7 @@ class Chef
property :keeppackages, [true, false], default: false
property :mode, default: "0644"
property :refresh_cache, [true, false], default: true
- property :source, String, regex: /.*/
+ property :source, String
property :cookbook, String
property :gpgautoimportkeys, [true, false], default: true