From 34f9349b5e378418f735e0f7cb6302c28eed20b7 Mon Sep 17 00:00:00 2001 From: rishid Date: Thu, 16 Jan 2014 16:08:51 -0500 Subject: [PATCH] Add support for Scientific Linux for hostname module hostname module was lacking support for Scientific Linux, this commit adds it. --- library/system/hostname | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/system/hostname b/library/system/hostname index 8a9401d2436..781bdcd08aa 100644 --- a/library/system/hostname +++ b/library/system/hostname @@ -256,6 +256,11 @@ class AmazonLinuxHostname(Hostname): distribution = 'Amazon' strategy_class = RedHatStrategy +class ScientificLinuxHostname(Hostname): + platform = 'Linux' + distribution = 'Scientific' + strategy_class = RedHatStrategy + # =========================================== class FedoraStrategy(GenericStrategy):