On 05/09/14 15:02, R.I.Pienaar wrote:

----- Original Message -----
From: "Jonathan Gazeley" <[email protected]>
To: "puppet-users" <[email protected]>
Sent: Friday, September 5, 2014 2:53:27 PM
Subject: [Puppet Users] --configprint
Hi peeps,

I've just noticed that "puppet agent --configprint runinterval" is not
doing what I expect. Why does it misreport the environment? The node is
indeed checking into the netops environment.

[jg4461@web-team-dev ~]$ puppet agent --configprint environment
production
Try it as root.


OK, that gives the expected output. My question is based on this custom fact:

https://gist.github.com/hunner/1989071

MCollective caches the fact as non-root and so I am unable to match on environment when using mco.

Any suggestions?

Thanks,
Jonathan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5409CFD0.9040806%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to