Author: Thomas Goirand <zigo@debian.org>
Date: Thu, 24 Jan 2019 15:47:29 +0100
Subject: Fix cloudkitty-ui package name for Deb
 This patch fixes the package name for both Debian and Ubuntu.
Change-Id: Id9041b1faed2e1ab664256ee6b4c3adf14d7b115
Forwarded: https://review.openstack.org/633006
Last-Update: 2019-01-24

Index: puppet-module-cloudkitty/manifests/params.pp
===================================================================
--- puppet-module-cloudkitty.orig/manifests/params.pp
+++ puppet-module-cloudkitty/manifests/params.pp
@@ -33,7 +33,7 @@ class cloudkitty::params {
       }
     }
     $processor_package_name        = 'cloudkitty-processor'
-    $ui_package_name               = 'cloudkitty-dashboard'
+    $ui_package_name               = 'python3-cloudkitty-dashboard'
     $common_package_name           = 'cloudkitty-common'
     $cloudkitty_wsgi_script_source = '/usr/bin/cloudkitty-api'
     $cloudkitty_wsgi_script_path   = '/usr/lib/cgi-bin/cloudkitty'
Index: puppet-module-cloudkitty/spec/classes/cloudkitty_ui_spec.rb
===================================================================
--- puppet-module-cloudkitty.orig/spec/classes/cloudkitty_ui_spec.rb
+++ puppet-module-cloudkitty/spec/classes/cloudkitty_ui_spec.rb
@@ -33,7 +33,7 @@ describe 'cloudkitty::ui' do
       let(:platform_params) do
         case facts[:osfamily]
         when 'Debian'
-          { :ui_package_name => 'cloudkitty-dashboard' }
+          { :ui_package_name => 'python3-cloudkitty-dashboard' }
         when 'RedHat'
           { :ui_package_name => 'openstack-cloudkitty-ui' }
         end
