diff --git a/facts.d/nc_versions.sh b/facts.d/nc_versions.sh index 38ce14f..f466f89 100755 --- a/facts.d/nc_versions.sh +++ b/facts.d/nc_versions.sh @@ -1,5 +1,9 @@ #!/bin/bash +if ! [[ $(hostname) =~ monitor ]]; then + exit 0 +fi + repo="/var/cache/cosmos/repo" common="${repo}/global/overlay/etc/hiera/data/common.yaml"