Issue #6764 has been updated by Krzysztof Wilczynski.

Thomas Bendler wrote:
> mc-facts don't support facts with uppercase inside:
> 
> thbe@ocean:~$ mc-facts custRole
> Could not call remote agent: Input fact does not match validation regex 
> ^[a-z_0-9]+$
> thbe@ocean:~$ mc-inventory node1.domain.tld | grep custRole
>       custRole => standard
> thbe@ocean:~$

Hey,

Trivial fix available in the following branch: 
[http://bit.ly/i6uALA](http://bit.ly/i6uALA)

On a side note... we could replace entire regular expression there with simply 
`^[\w\-]+$` as it is pretty much the same.

Hope that helps :-)

KW
----------------------------------------
Bug #6764: Facts with uppercase
https://projects.puppetlabs.com/issues/6764

Author: Thomas Bendler
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 


mc-facts don't support facts with uppercase inside:

thbe@ocean:~$ mc-facts custRole
Could not call remote agent: Input fact does not match validation regex 
^[a-z_0-9]+$
thbe@ocean:~$ mc-inventory node1.domain.tld | grep custRole
      custRole => standard
thbe@ocean:~$


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to