From 76bf1d2748c3e32064a7a05a7dcab447be1324a0 Mon Sep 17 00:00:00 2001 From: Uuq114 <811670442@qq.com> Date: Mon, 21 Aug 2023 17:21:41 +0800 Subject: [PATCH] os: add openeuler support --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index ce19084..c01a12e 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -4,7 +4,7 @@ # class nsswitch::params { case $facts['operatingsystem'] { - /AlmaLinux|CentOS|RedHat|Rocky|Amazon|OEL|OracleLinux|Scientific|CloudLinux/: { + /AlmaLinux|CentOS|RedHat|Rocky|Amazon|OEL|OracleLinux|Scientific|CloudLinux|openEuler/: { if versioncmp($facts[operatingsystemmajrelease], '6') > 0 { $passwd_default = ['files','sss'] $shadow_default = ['files','sss']