I'm running the following query to get a list of hosts in datacenter "abc":
root@puppet:~> curl -k -H "Accept: pson" https://puppet:8140/production/facts_search/search?facts.datacenter=abc["host04","host05","web01","db01"]datacenter is a custom fact distributed with pluginsync. The problem is, is that the puppet master host (hostname is puppet) is not returned in this list, even though its datacenter=abc.
The custom fact is available via the command line:
root@puppet:~> facter -p | grep datacenterdatacenter => btpAnd on the agents, for example:
root@host04:~> facter -p | grep datacenterdatacenter => btpI can also see datacenter is set correctly per Puppet Dashboard. Also, running a facts_search on a non-cusom fact properly returns the puppet master along with other agents:
root@puppet:~> curl -k -H "Accept: pson" https://puppet:8140/production/facts_search/search?facts.operatingsystem=CentOS
["host04","host05","web01","db01","puppet","puppet.mydomain.com"]FYI the puppet master is running on CentOS 6.2.
root@puppet:~> puppet --version2.7.13root@puppet:~> facter -v1.6.7Thought I'd ask here before filing a bug report. Thanks for the assistance.