How can an ENC get the --environment value specified on a puppet agent commandline?

29 views
Skip to first unread message

Larry Fast

unread,
Jun 18, 2013, 9:19:39 PM6/18/13
to puppet...@googlegroups.com
Is there any way to pass puppet run details to an ENC. Most importantly I want to know the Environment value the puppet Agent is asking for.  More generally is it possible to query the puppet configuration values?

One thought I had is to turn the puppet config into FACTS. Then the ENC can get the latest values from either Inventory Services or Foreman.  But off hand I don't know how I could turn the puppet Agent command-line options into Facts without putting a wrapper around the puppet command itself.
Reply all
Reply to author
Forward
0 new messages