Skip to content

Commit 68c2850

Browse files
committed
Merge pull request 'fix: handle linuxaid-tag for branch and tags' (#1510) from fix/handle-linuxaid-tag-for-branch-and-tags into master
Reviewed-on: https://gitea.obmondo.com/EnableIT/LinuxAid/pulls/1510
2 parents 120c6ba + 53fb30a commit 68c2850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

puppet_enc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
subscription_product_id = server_data&.dig('product_id')
6161
tag_keys = server_data&.dig('tags') || []
62-
linuxaid_tag = server_data&.dig('linuxaid_tag').gsub('.', '_')
62+
linuxaid_tag = server_data&.dig('linuxaid_tag').gsub(/[^a-zA-Z0-9]/, '_')
6363

6464
# ensure that we don't have too many tags -- if we allow for more tags, we also
6565
# need to update hiera.yaml!

0 commit comments

Comments
 (0)