diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2019-10-10 11:38:42 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2019-10-10 11:38:42 +0530 |
commit | a9ff83a73d06fb6a94c0b782ec80a49ca56d7fc9 (patch) | |
tree | c8e2530b90660145c93a3e3be24d782a343e1d75 | |
parent | c77f01affc19e851a792f76a0162b42f99591efc (diff) | |
download | chef-a9ff83a73d06fb6a94c0b782ec80a49ca56d7fc9.tar.gz |
Fix chefstyle
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
-rw-r--r-- | lib/chef/provider/package/dnf/python_helper.rb | 1 | ||||
-rw-r--r-- | lib/chef/provider/package/yum/python_helper.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/provider/package/dnf/python_helper.rb b/lib/chef/provider/package/dnf/python_helper.rb index 36686f0d71..176ed55d3d 100644 --- a/lib/chef/provider/package/dnf/python_helper.rb +++ b/lib/chef/provider/package/dnf/python_helper.rb @@ -43,6 +43,7 @@ class Chef shell_out("#{f} -c 'import dnf'").exitstatus == 0 end raise Chef::Exceptions::Package, "cannot find dnf libraries, you may need to use yum_package" unless cmd + "#{cmd} #{DNF_HELPER}" end end diff --git a/lib/chef/provider/package/yum/python_helper.rb b/lib/chef/provider/package/yum/python_helper.rb index cea58bf0bd..c893827a60 100644 --- a/lib/chef/provider/package/yum/python_helper.rb +++ b/lib/chef/provider/package/yum/python_helper.rb @@ -45,6 +45,7 @@ class Chef shell_out("#{f} -c 'import yum'").exitstatus == 0 end raise Chef::Exceptions::Package, "cannot find yum libraries, you may need to use dnf_package" unless cmd + "#{cmd} #{YUM_HELPER}" end end |