diff options
author | Tim Smith <tsmith@chef.io> | 2017-09-15 14:38:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 14:38:00 -0700 |
commit | 01d26acc41b7a1558741631a4faba32b8f99a5cc (patch) | |
tree | 595813f5c558251b4d85b1ec8133a744e1843c7a /lib | |
parent | 095a03b01ff3527bdbbc49d1d71db8b6806f3dc2 (diff) | |
parent | 668b3ac946465ad16874315855a5c9c28bc2b0f7 (diff) | |
download | chef-01d26acc41b7a1558741631a4faba32b8f99a5cc.tar.gz |
Merge pull request #6408 from chef/zypper_repo_fix_v2
Quiet the output of the zypper refresh and add force
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/zypper_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/zypper_repository.rb b/lib/chef/provider/zypper_repository.rb index 805741706b..e6fd917d77 100644 --- a/lib/chef/provider/zypper_repository.rb +++ b/lib/chef/provider/zypper_repository.rb @@ -57,7 +57,7 @@ class Chef end action :refresh do - declare_resource(:execute, "zypper#{' --gpg-auto-import-keys' if new_resource.gpgautoimportkeys} refresh #{escaped_repo_name}") do + declare_resource(:execute, "zypper#{' --gpg-auto-import-keys' if new_resource.gpgautoimportkeys} --quiet --no-confirm refresh --force #{escaped_repo_name}") do only_if "zypper lr #{escaped_repo_name}" end end |