|
I want to chime in with some additional information.
We have to set 'environment' in [main] section, along with 'certname' and 'server', which under normal circumstances would be only relevant for an agent. But, pe-mcollective-metadata script (/opt/puppetlabs/puppet/bin/refresh-mcollective-metadata) doesn't use 'agent' section, it uses 'main', so if you have (like we do) facts based on any of those 3 settings, they will be out-of-sync, different from what agent sees, so we can't use any mco filters based on these facts.
|