Fix lack of support for Cumulus Linux with Hostname module in Ansible v2.8.0. (#57493)

(cherry picked from commit 1661c87bae)
This commit is contained in:
Eric Pulvino 2019-06-07 15:40:20 -04:00 committed by Toshio Kuratomi
parent 1422785f1f
commit dcb06ab78f
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- hostname - Readded support for Cumulus Linux which broke in v2.8.0 (https://github.com/ansible/ansible/pull/57493)

View file

@ -637,6 +637,12 @@ class DebianHostname(Hostname):
strategy_class = DebianStrategy
class CumulusHostname(Hostname):
platform = 'Linux'
distribution = 'Cumulus-linux'
strategy_class = DebianStrategy
class KaliHostname(Hostname):
platform = 'Linux'
distribution = 'Kali'