Commit 79bc61fb authored by Petr Vokac's avatar Petr Vokac
Browse files

Improve puppet configuration for EGI StAR accounting

parent c66c0eec
......@@ -50,11 +50,12 @@ class dmlite::accounting (
}
}
# apel-ssm also available in UMD repository
if $ssm_url == '' {
if $enabled and $ssm_url == '' {
if $facts['os']['family'] == 'RedHat' {
$ssm_package_url = $facts['os']['release']['major'] ? {
'6' => 'https://github.com/apel/ssm/releases/download/2.3.0-2/apel-ssm-2.3.0-2.el6.noarch.rpm',
'7' => 'https://github.com/apel/ssm/releases/download/2.3.0-2/apel-ssm-2.3.0-2.el7.noarch.rpm',
default => fail("EGI StaR accounting enabled but ${facts['os']['name']}${facts['os']['release']['major']} is not supported")
}
}
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment