]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
move wget to after repo alteration
authorAlfredo Deza <alfredo.deza@inktank.com>
Fri, 15 Nov 2013 19:26:28 +0000 (14:26 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 18 Nov 2013 19:29:57 +0000 (14:29 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/hosts/centos/install.py

index 1dd0a632e87d5c21937825be3e88032b8ab04ed0..bc68e1a51dbc66b604d5a6dbd9bdea433b85d333 100644 (file)
@@ -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')