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

This commit is contained in:
Eric Pulvino 2019-06-07 15:40:20 -04:00 committed by Sam Doran
parent 7d9cac8e47
commit 1661c87bae
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'