Is there a way to use wildcards in FQDN matching for smart class parameters ?
For example, I want all hosts that have a FQDN starting with “dns” to get the time from external NTP
I tried “dns*”. dns* dns% …
Thanks
Is there a way to use wildcards in FQDN matching for smart class parameters ?
For example, I want all hosts that have a FQDN starting with “dns” to get the time from external NTP
I tried “dns*”. dns* dns% …
Thanks
Hello, I’ve updated the subject a bit to draw attention of our puppet experts. I have no idea, but our scoped_search has this syntax: https://github.com/wvanbergen/scoped_search/wiki/query-language
Looks like you want to use tilda char ~
for that.
I’m afraid smart class parameters can’t use wildcard matching due to the way we calculate the overrides. What I would suggest is matching on a different attribute - such as creating a hostgroup that contains all the dns servers, creating a custom fact on these servers to match on etc.