From 344927a6b11bf1ea56693f8ba0fc7a5afa11dedc Mon Sep 17 00:00:00 2001 From: Riccardo Murri Date: Thu, 15 Sep 2016 16:58:33 +0200 Subject: [PATCH] hostname: Support "Scientific Linux CERN" (#4855) CERN maintains its own fork of "Scientific Linux", which identifies as "Scientific Linux CERN SLC". This commit lets Ansible know that this is again another variant of RHEL. --- system/hostname.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/hostname.py b/system/hostname.py index d16b1ccca28..c56572ebade 100644 --- a/system/hostname.py +++ b/system/hostname.py @@ -567,6 +567,11 @@ class ScientificLinuxHostname(Hostname): distribution = 'Scientific linux' strategy_class = RedHatStrategy +class ScientificLinuxCERNHostname(Hostname): + platform = 'Linux' + distribution = 'Scientific linux cern slc' + strategy_class = RedHatStrategy + class OracleLinuxHostname(Hostname): platform = 'Linux' distribution = 'Oracle linux server'