From: Alfredo Deza Date: Fri, 15 Nov 2013 19:26:28 +0000 (-0500) Subject: move wget to after repo alteration X-Git-Tag: v1.3.3~14^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1a9b7dfaa1eb3e37f947077d6b359a6467bb3e78;p=ceph-deploy.git move wget to after repo alteration Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py index 1dd0a63..bc68e1a 100644 --- a/ceph_deploy/hosts/centos/install.py +++ b/ceph_deploy/hosts/centos/install.py @@ -103,8 +103,6 @@ def firewall_install(distro, repo_url, gpg_url, adjust_repos): logger.warning('--gpg-url was not used, will fallback') logger.warning('using GPG fallback: %s', gpg_fallback) gpg_url = gpg_fallback - # Before any install, make sure we have `wget` - pkg_managers.yum(distro.conn, 'wget') if adjust_repos: process.run( @@ -123,4 +121,7 @@ def firewall_install(distro, repo_url, gpg_url, adjust_repos): distro.conn.remote_module.write_yum_repo(ceph_repo_content) + # Before any install, make sure we have `wget` + pkg_managers.yum(distro.conn, 'wget') + pkg_managers.yum(distro.conn, 'ceph')