I have a serires of servers that their hostname (not FQDN) is built in the same manner [header, 3 letters][collo, 4 letters][environment, 3 letters][number, 4 digits].
There's no specific separator between each part of hostname. Is there way I can extract the collo part of the hostname in puppet?