Install openstack-panko-api on upgrade
authorMarius Cornea <mcornea@redhat.com>
Sat, 25 Feb 2017 19:32:49 +0000 (20:32 +0100)
committerMarius Cornea <mcornea@redhat.com>
Sat, 25 Feb 2017 19:40:00 +0000 (20:40 +0100)
This doesn't exist in newton images, so install it via the
ansible tasks during step3 (when all other packages are updated).

Change-Id: I700a711473d10a50fad6b1797453a74c0cdff54b
Closes-Bug: 1667965

puppet/services/panko-api.yaml

index 4b74ad4..fc127a2 100644 (file)
@@ -84,3 +84,9 @@ outputs:
         include tripleo::profile::base::panko::api
       metadata_settings:
         get_attr: [ApacheServiceBase, role_data, metadata_settings]
+      upgrade_tasks:
+        # The panko API isn't installed in newton images, so install
+        # it on upgrade
+        - name: Install openstack-panko-api packages on upgrade
+          tags: step3
+          yum: name=openstack-panko-api state=latest