From 72502f599005e41635ee439f9c49a54b7d61deb3 Mon Sep 17 00:00:00 2001 From: David Murphy Date: Mon, 8 Aug 2016 16:50:05 -0600 Subject: [PATCH] Increase timeout for siging to 10 seconds when signing rpm packages (#35278) --- salt/modules/rpmbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/rpmbuild.py b/salt/modules/rpmbuild.py index fc223c5fa4..517d5b3e0b 100644 --- a/salt/modules/rpmbuild.py +++ b/salt/modules/rpmbuild.py @@ -425,7 +425,7 @@ def make_repo(repodir, keyid=None, env=None, use_passphrase=False, gnupghome='/e for file in os.listdir(repodir): if file.endswith('.rpm'): abs_file = os.path.join(repodir, file) - number_retries = 5 + number_retries = 20 times_looped = 0 error_msg = 'Failed to sign file {0}'.format(abs_file) cmd = 'rpm {0} --addsign {1}'.format(define_gpg_name, abs_file)