Add gss
This commit is contained in:
parent
3b5d14a189
commit
036dcf010c
|
@ -21,7 +21,7 @@ for environment in test prod; do
|
||||||
version=$(yq -r ".${key}" "${group}")
|
version=$(yq -r ".${key}" "${group}")
|
||||||
print_fact "${customer}" "${environment}" "${version}"
|
print_fact "${customer}" "${environment}" "${version}"
|
||||||
done
|
done
|
||||||
for customer in $(yq -r '.fullnodes[]' "${common}"); do
|
for customer in $(yq -r '.fullnodes[]' "${common}") gss; do
|
||||||
group="${repo}/${customer}-common/overlay/etc/hiera/data/group.yaml"
|
group="${repo}/${customer}-common/overlay/etc/hiera/data/group.yaml"
|
||||||
version=$(yq -r ".${key}" "${group}")
|
version=$(yq -r ".${key}" "${group}")
|
||||||
print_fact "${customer}" "${environment}" "${version}"
|
print_fact "${customer}" "${environment}" "${version}"
|
||||||
|
|
|
@ -164,6 +164,7 @@ define service {
|
||||||
check_interval 5
|
check_interval 5
|
||||||
check_period 24x7
|
check_period 24x7
|
||||||
<% cur_cust = site.gsub(/\.drive.*/,'') %>
|
<% cur_cust = site.gsub(/\.drive.*/,'') %>
|
||||||
|
<% cur_cust = cur_cust.gsub(/drive.*/,'gss') %>
|
||||||
# 'check_nextcloud' command definition
|
# 'check_nextcloud' command definition
|
||||||
<% if @environment == 'prod' and not site.match('test') and @fullnodes.include?(cur_cust) %>
|
<% if @environment == 'prod' and not site.match('test') and @fullnodes.include?(cur_cust) %>
|
||||||
contacts slack
|
contacts slack
|
||||||
|
|
Loading…
Reference in a new issue