kuhn-ruess / cmdbsyncer

Rule Based Syncronisation System with Checkmk and Ansible Support
MIT License
41 stars 9 forks source link

Feature Request - Label Rules Outcome (special characters) #13

Closed orester closed 2 years ago

orester commented 2 years ago

Due the fact that "omd create SITE" does not allow any hyphens in the site name, their should be an additional OUTCOME in label rules which allows to filter/replace that (replace hyphens with underscores) if the LABEL is used as a site name for example.

Example:

label: whatever value: my-site-name -> my_site_name

Many THX & Regards, Oliver

Bastian-Kuhn commented 2 years ago

Hello Oliver,

Thanks for the patch. I merged it to the 1.3.3 branch.

Best Bastian