Or does Puppet put everything into lowercase, as just checked my windows host and its name is in uppercase but when I look at inventory for this host the hostname is in lower case ???
regards jim On Friday, 22 February 2013 14:43:17 UTC, jim wrote: > > Hi Guys > > all of our windows hosts, has the following naming convention: > > 3 characters for the product - Letter for location - class of service (3 > characters) - node number (2 digits) > e.g > > pos-a-www-02 > or > ocs-b-sql-01 > > therefore my regex would look something like > > /^pos-(a|b)-www-\d\d$/ > or > /^ocs-(a|b)-sql-\d\d$/ > > how do I make these regex case insensitive > > as or hosts can be named > > pos-a-www-02 > or > POS-A-WWW-02 > > regards > > Jim > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
