diff options
Diffstat (limited to 'buildscripts/package_test/recipes/install_mongodb.rb')
-rw-r--r-- | buildscripts/package_test/recipes/install_mongodb.rb | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb index 3968aa8b949..3914b9cc56a 100644 --- a/buildscripts/package_test/recipes/install_mongodb.rb +++ b/buildscripts/package_test/recipes/install_mongodb.rb @@ -116,23 +116,13 @@ if platform_family? 'suse' EOD end - %w( - SLES12-Pool - SLES12-Updates - ).each do |repo| - execute "add #{repo}" do - command "zypper addrepo --check --refresh --name \"#{repo}\" http://smt-ec2.susecloud.net/repo/SUSE/Products/SLE-SERVER/12/x86_64/product?credentials=SMT-http_smt-ec2_susecloud_net 'SMT-http_smt-ec2_susecloud_net:#{repo}'" - not_if "zypper lr | grep #{repo}" - end - end - execute 'install mongod' do - command 'zypper -n install `find . -name "*server*.rpm"`' + command 'zypper --no-gpg-checks -n install `find . -name "*server*.rpm"`' cwd homedir end execute 'install mongo' do - command 'zypper -n install `find . -name "*shell*.rpm"`' + command 'zypper --no-gpg-checks -n install `find . -name "*shell*.rpm"`' cwd homedir end end |