]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
nuke: Remove samba repos 1032/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 23 Feb 2017 16:21:47 +0000 (11:21 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 23 Feb 2017 16:51:40 +0000 (11:51 -0500)
Fixes: http://tracker.ceph.com/issues/19061
Signed-off-by: David Galloway <dgallowa@redhat.com>
teuthology/nuke/actions.py

index a98025ab17581b1a38a20aa1f30ff26322ea55e9..6b37fea9782f69cc0c8670e13736e9beb169a03a 100644 (file)
@@ -258,6 +258,10 @@ def remove_ceph_packages(ctx):
                 args=['sudo', 'rm', run.Raw("/etc/yum.repos.d/*fcgi*")],
                 check_status=False,
             )
+            remote.run(
+                args=['sudo', 'rm', run.Raw("/etc/yum.repos.d/*samba*")],
+                check_status=False,
+            )
             remote.run(
                 args=['sudo', 'rpm', '--rebuilddb', run.Raw('&&'), 'yum',
                       'clean', 'all']
@@ -273,6 +277,10 @@ def remove_ceph_packages(ctx):
                 args=['sudo', 'rm', run.Raw("/etc/apt/sources.list.d/*ceph*")],
                 check_status=False,
             )
+            remote.run(
+                args=['sudo', 'rm', run.Raw("/etc/apt/sources.list.d/*samba*")],
+                check_status=False,
+            )
             log.info("Autoclean")
             remote.run(
                 args=['sudo', 'apt-get', 'autoclean'],