Add tags in upgrade_tasks for mongodb services.
authorJose Luis Franco Arza <jfrancoa@redhat.com>
Wed, 6 Sep 2017 09:50:00 +0000 (11:50 +0200)
committerCarlos Camacho <ccamacho@redhat.com>
Thu, 7 Sep 2017 12:54:16 +0000 (14:54 +0200)
Patch Ie09ce2a52128eef157e4d768c1c4776fc49f2324 added a new
set of upgrade tasks which were missing the 'tags' keyword.

Closes-Bug: 1715631
Change-Id: Ib1c1aadfbf58c9bccc18667934c8b3c5f38fafa4
(cherry picked from commit 7897d38274cb6435289bc4f4928f96b111e5b4f4)

docker/services/database/mongodb.yaml
puppet/services/disabled/mongodb-disabled.yaml

index d6bba20..5cf6f92 100644 (file)
@@ -159,6 +159,7 @@ outputs:
       upgrade_tasks:
         - name: Check for mongodb service
           stat: path=/usr/lib/systemd/system/mongod.service
+          tags: common
           register: mongod_service
         - name: Stop and disable mongodb service
           tags: step2
index c01a91f..0c6e2bb 100644 (file)
@@ -39,6 +39,7 @@ outputs:
       upgrade_tasks:
         - name: Check for mongodb service
           stat: path=/usr/lib/systemd/system/mongod.service
+          tags: common
           register: mongod_service
         - name: Stop and disable mongodb service on upgrade
           tags: step1