How can i make the master load the facts when calling itself?
UPDATE 1:
So, running puppet agent -t --noop --debug --verbose shows it is in fact (sic) loading the custom facts, it just doesn't say so without '--debug --verbose', which is odd....
Anyway, the end of the '--debug --verbose' log looks like this
^[[0;36mDebug: Facter: resolving Xen facts.^[[0m
^[[0;36mDebug: Failed to load library 'msgpack' for feature 'msgpack'^[[0m
^[[0;36mDebug: Puppet::Network::Format[msgpack]: feature msgpack is missing^[[0m
^[[0;36mDebug: catalog supports formats: pson yaml dot binary^[[0m
^[[0;36mDebug: Using cached connection for https://puppetmaster103....com:8140^[[0m
^[[0;36mDebug: Caching connection for https://puppetmaster103....com:8140^[[0m
^[[1;31mError: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Cannot reassign variable '$network' at /etc/puppetlabs/code/environments/prod/manifests/site.pp:25:10 on node puppetmaster103....com
which means a repeat of https://ask.puppet.com/question/27122/hiera_hash-cannot-reassign-variable-network-in-sitepp/ I guess.
The main point is that I have searched over and over and cannot find where $network is being assigned another time, apart from in site.pp
Could this be anything to do with the 'msgpack' error above, and how would I solve that anyway ??
Chris