From ae7735b45d1429f95a8c3ac9e79e007e42f3cfc6 Mon Sep 17 00:00:00 2001 From: Sam Hartsfield Date: Tue, 26 Nov 2013 11:36:10 -0500 Subject: [PATCH] Fixed hostname module for RHEL6 Workstation --- library/system/hostname | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/library/system/hostname b/library/system/hostname index 04a831bc9d4..005ccdc9ab0 100644 --- a/library/system/hostname +++ b/library/system/hostname @@ -226,11 +226,16 @@ class RedHat5Hostname(Hostname): distribution = 'Redhat' strategy_class = RedHatStrategy -class RedHatHostname(Hostname): +class RedHatServerHostname(Hostname): platform = 'Linux' distribution = 'Red hat enterprise linux server' strategy_class = RedHatStrategy +class RedHatWorkstationHostname(Hostname): + platform = 'Linux' + distribution = 'Red hat enterprise linux workstation' + strategy_class = RedHatStrategy + class CentOSHostname(Hostname): platform = 'Linux' distribution = 'Centos'