]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
fix wrong logic for mangling repos 64/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Fri, 6 Sep 2013 00:19:42 +0000 (20:19 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Fri, 6 Sep 2013 00:19:42 +0000 (20:19 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/hosts/centos/install.py
ceph_deploy/hosts/debian/install.py
ceph_deploy/hosts/fedora/install.py
ceph_deploy/hosts/suse/install.py

index e06d0aa4bdbea8d356f77ea528c4cd19d68164c6..a9a6018aad025d221c1772f62c7ac00579d0b293 100644 (file)
@@ -8,14 +8,14 @@ def install(distro, logger, version_kind, version, adjust_repos):
     machine = distro.sudo_conn.modules.platform.machine()
 
     # Get EPEL installed before we continue:
-    if not adjust_repos:
+    if adjust_repos:
         install_epel(distro, logger)
     if version_kind in ['stable', 'testing']:
         key = 'release'
     else:
         key = 'autobuild'
 
-    if not adjust_repos:
+    if adjust_repos:
         check_call(
             distro.sudo_conn,
             logger,
index bd7a8b68c2f1bd895b7512bf44f195fd20eae799..608d4059c407ef6f379850282d7fda3e85a7cb04 100644 (file)
@@ -27,7 +27,7 @@ def install(distro, logger, version_kind, version, adjust_repos):
         ]
     )
 
-    if not adjust_repos:
+    if adjust_repos:
         check_call(
             distro.sudo_conn,
             logger,
index 2032db62879a585780fc857aa0fdda9e396061d0..8570efbf8661bc23c969081a234c1d3141c8fbe3 100644 (file)
@@ -11,7 +11,7 @@ def install(distro, logger, version_kind, version, adjust_repos):
     else:
         key = 'autobuild'
 
-    if not adjust_repos:
+    if adjust_repos:
         check_call(
             distro.sudo_conn,
             logger,
index 203aacf40ebc887000b05531cf1b03937999173f..29ba9f8f2d4b7dfb1ab52e7a31394247a9315b01 100644 (file)
@@ -16,7 +16,7 @@ def install(distro, logger, version_kind, version, adjust_repos):
     else:
         distro = 'sles-11sp2'
 
-    if not adjust_repos:
+    if adjust_repos:
         check_call(
             distro.sudo_conn,
             logger,