honors os release version in centos
This commit is contained in:
parent
b664604535
commit
2733ab9e7e
|
@ -76,7 +76,7 @@ classes:
|
|||
commands:
|
||||
install_yum_repo::
|
||||
"wget"
|
||||
args => "-qO /etc/yum.repos.d/rspamd.repo https://rspamd.com/rpm-stable/centos-8/rspamd.repo && rpm --import https://rspamd.com/rpm-stable/gpg.key && yum update -y",
|
||||
args => "-qO /etc/yum.repos.d/rspamd.repo https://rspamd.com/rpm-stable/centos-$(sys.os_version_major)/rspamd.repo && rpm --import https://rspamd.com/rpm-stable/gpg.key && yum update -y",
|
||||
contain => wmde_cmd_useshell;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue