diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-19 10:35:15 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-19 15:27:20 -0700 |
commit | c55b41611709ab75192fa79a70fce128b1fbe944 (patch) | |
tree | 4a915ed29750f8fa34287d5f22c808ee17bac0c9 | |
parent | 2955a93b0f35b1b89ec50b92be4e5127b1e9c12f (diff) | |
download | chef-c55b41611709ab75192fa79a70fce128b1fbe944.tar.gz |
Just look for Yes and anything in the regex
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/package/zypper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/zypper.rb b/lib/chef/provider/package/zypper.rb index 5cd2471f96..59604c5a33 100644 --- a/lib/chef/provider/package/zypper.rb +++ b/lib/chef/provider/package/zypper.rb @@ -41,7 +41,7 @@ class Chef when /^Version *: (.+) *$/ candidate_version = $1.strip Chef::Log.debug("#{new_resource} version #{candidate_version}") - when /^Installed *: Yes *(\(automatically\))?$/ # http://rubular.com/r/qhPeO6vP9h + when /^Installed *: Yes.*$/ # http://rubular.com/r/9StcAMjOn6 is_installed = true Chef::Log.debug("#{new_resource} is installed") when /^Status *: out-of-date \(version (.+) installed\) *$/ |