Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lcgdm
dmlite
Commits
79bc61fb
Commit
79bc61fb
authored
Jun 04, 2020
by
Petr Vokac
Browse files
Improve puppet configuration for EGI StAR accounting
parent
c66c0eec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/puppet/dmlite/manifests/accounting.pp
View file @
79bc61fb
...
...
@@ -50,11 +50,12 @@ class dmlite::accounting (
}
}
#
apel
-
ssm
also
available
in
UMD
repository
if
$
ssm_url
==
''
{
if
$e
nabled
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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment