Commit 4cac81da authored by Thomas Goirand's avatar Thomas Goirand

Add Fix-osutils.py-to-detect-Debian.patch.

parent d263da52
octavia (4.0.0-2) UNRELEASED; urgency=medium octavia (4.0.0-2) UNRELEASED; urgency=medium
* Fix octavia-agent binary in init/service file. * Fix octavia-agent binary in init/service file.
* Add Fix-osutils.py-to-detect-Debian.patch.
-- Thomas Goirand <zigo@debian.org> Tue, 30 Apr 2019 12:09:24 +0200 -- Thomas Goirand <zigo@debian.org> Tue, 30 Apr 2019 12:09:24 +0200
......
Description: Fix is_os_name in osutils.py to detect Debian
Otherwise, the OCtavia agent just dies...
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2019-04-30
--- octavia-4.0.0.orig/octavia/amphorae/backends/agent/api_server/osutils.py
+++ octavia-4.0.0/octavia/amphorae/backends/agent/api_server/osutils.py
@@ -262,7 +262,7 @@ class Ubuntu(BaseOS):
@classmethod
def is_os_name(cls, os_name):
- return os_name in ['ubuntu']
+ return os_name in ['debian']
def cmd_get_version_of_installed_package(self, package_name):
name = self._map_package_name(package_name)
install-missing-files.patch install-missing-files.patch
hardcode-doc-path.patch hardcode-doc-path.patch
Fix-osutils.py-to-detect-Debian.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment