From 4a22d3396dfed57dfbbdb412588267978e12cb54 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Mon, 2 May 2016 13:07:48 +0200 Subject: [PATCH] Fix detection of RHEL and clones --- puppet_plugin/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet_plugin/manager.py b/puppet_plugin/manager.py index 4549940..fae191d 100644 --- a/puppet_plugin/manager.py +++ b/puppet_plugin/manager.py @@ -332,7 +332,7 @@ class PuppetRHELInstaller(RubyGemJsonExtraPackageMixin, PuppetInstaller): @staticmethod def _installer_handles(): - return platform.linux_distribution()[0] in ( + return platform.linux_distribution(full_distribution_name=0)[0] in ( 'redhat', 'centos', 'fedora') def get_repo_package_url(self):