This commit is contained in:
Hiroaki Nakamura 2013-11-10 08:10:53 +09:00
parent 1d368f9e1f
commit cc17a0ac7d

View file

@ -221,6 +221,11 @@ class RedHatStrategy(GenericStrategy):
self.module.fail_json(msg="failed to update hostname: %s" %
str(err))
class RedHat5Hostname(Hostname):
platform = 'Linux'
distribution = 'Redhat'
strategy_class = RedHatStrategy
class RedHatHostname(Hostname):
platform = 'Linux'
distribution = 'Red hat enterprise linux server'