Commit 5e0c6e0a by Michael DeHaan

Merge pull request #4868 from hnakamur/rhel5_hostname_fix

hostname module fix for RHEL5
parents afcda172 63a552b2
......@@ -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'
......
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