]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/rgw: ragweed task conditionally sets is_secure
authorCasey Bodley <cbodley@redhat.com>
Mon, 5 Mar 2018 15:33:45 +0000 (10:33 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 9 Mar 2018 21:31:33 +0000 (16:31 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
qa/tasks/ragweed.py

index 2080ccbd9acb9d9149f776a76fbd4077b5cb3058..ef99098907c941456c15dbc22795c8286d1a8676 100644 (file)
@@ -340,7 +340,7 @@ def task(ctx, config):
                 'rgw':
                     {
                     'port'      : endpoint.port,
-                    'is_secure' : 'no',
+                    'is_secure' : 'yes' if endpoint.cert else 'no',
                     },
                 'fixtures' : {},
                 'user system'  : {},