summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-02 10:47:01 -0800
committerGitHub <noreply@github.com>2018-01-02 10:47:01 -0800
commitc70b98449da931c866863645e1706ae04e49ee0a (patch)
tree3fc4e6e95d729e7e4d1d0b81efadb46d0837c53f
parent343ae7521fd9167cdb7df46186187f0cd433cc15 (diff)
parent66d2ebe5b8b9c4a6f7b3ca69d6a92eb48c0e0358 (diff)
downloadchef-c70b98449da931c866863645e1706ae04e49ee0a.tar.gz
Merge pull request #6710 from chef/useless_regex
Remove a useless regex in zypper_repository resource
-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