hostname module: add support for Amazon Linux

This commit is contained in:
dragon3 2013-11-28 09:31:25 +09:00
parent a1f1f459d8
commit b5eb3c41e3

View file

@ -236,6 +236,11 @@ class CentOSHostname(Hostname):
distribution = 'Centos' distribution = 'Centos'
strategy_class = RedHatStrategy strategy_class = RedHatStrategy
class AmazonLinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Amazon'
strategy_class = RedHatStrategy
# =========================================== # ===========================================
class FedoraStrategy(GenericStrategy): class FedoraStrategy(GenericStrategy):