File: 0001-Fix-cloudkitty-ui-package-name-for-Deb.patch

package info (click to toggle)
puppet-module-cloudkitty 6.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 592 kB
  • sloc: ruby: 1,686; python: 37; sh: 15; makefile: 10
file content (34 lines) | stat: -rw-r--r-- 1,602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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