While researching something else I ran into the current host list for misc cluster which contains hosts that should live in their own cluster (new or existing).
AFAIK to add an host to an existing cluster setting $cluster in puppet is enough.
To add brand new cluster AFAICS it is necessary to add it to hieradata/common/monitoring.yaml and hieradata/common.yaml, possibly other places?
The paste below has been obtained with
cumin --force -o json 'P:cumin::target%cluster = misc' 'hostname -f' | awk 'x==1 { print $0 } /_____FORMATTED_OUTPUT_____/ { x=1 }'
TODO
- Misplaced hosts moved to an existing (or new) cluster
- Decide if missing $cluster in production should result in a puppet failure instead of defaulting to misc
edit: update 23-05-2023
Adding updated list of host prefixes using misc
$ sudo cumin --force -o json 'P:cumin::target%cluster = misc' 'hostname -f' | awk 'x==1 { print $0 } /_____FORMATTED_OUTPUT_____/ { x=1 }' | jq 'keys[]' | tr -d '"' | awk -F\. '{sub(/[0-9]+/,"",$1); print $1}' | sort -u an-coord an-db an-mariadb an-test-coord an-tool aphlict apt archiva backup bast build cephosd chartmuseum cloudbackup cloudbackup-dev cloudcephmon cloudcephmon-dev cloudcephosd cloudcephosd-dev cloudcontrol-dev clouddb-dev cloudgw cloudgw-dev cloudlb-dev cloudmetrics cloudnet-dev cloudrabbit cloudservices-dev cloudvirt-dev cloudweb cloudweb-dev cuminunpriv datahubsearch db dborch dbproxy dbstore debmonitor deploy dispatch-be dragonfly-supernode druid etherpad eventlog failoid flerovium furud gerrit gitlab gitlab-runner grafana idm idm-test idp idp-test install irc kafka-jumbo kafkamon kafka-stretch karapace krb ldap-replica ldap-rw lists lvs matomo mirror miscweb moscovium moss-be moss-fe mwlog mwmaint mx ncredir netbox netboxdb netbox-dev netflow netmon orespoolcounter otrs people phab ping planet puppetmaster pybal-test registry releases rpki seaborgium serpens sretest stat testvm urldownloader vrts wdqs xhgui