Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Commit 4a22d33

Browse files
committed
Fix detection of RHEL and clones
1 parent 36d88c8 commit 4a22d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puppet_plugin/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ class PuppetRHELInstaller(RubyGemJsonExtraPackageMixin, PuppetInstaller):
332332

333333
@staticmethod
334334
def _installer_handles():
335-
return platform.linux_distribution()[0] in (
335+
return platform.linux_distribution(full_distribution_name=0)[0] in (
336336
'redhat', 'centos', 'fedora')
337337

338338
def get_repo_package_url(self):

0 commit comments

Comments
 (0)