Can I force string
This commit is contained in:
parent
db516e3b72
commit
e840903eae
|
@ -190,7 +190,7 @@ define service {
|
||||||
<% else -%>
|
<% else -%>
|
||||||
<% version_variable = 'nextcloud_version_prod_' << cur_cust -%>
|
<% version_variable = 'nextcloud_version_prod_' << cur_cust -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<% version = scope.lookupvar(version_variable) -%>
|
<% version = scope.lookupvar(version_variable) << '' -%>
|
||||||
<% version_truncated = version.gsub(/-[0-9]+/,'') -%>
|
<% version_truncated = version.gsub(/-[0-9]+/,'') -%>
|
||||||
check_command check_nextcloud_version!'<%= version_truncated %>'
|
check_command check_nextcloud_version!'<%= version_truncated %>'
|
||||||
check_interval 5
|
check_interval 5
|
||||||
|
|
Loading…
Reference in a new issue