Re: [foreman-users] Finding parameters for a host

2017-07-07 Thread Brian Mc
Thanks for the reply Greg, I am looking to consume the data through the API, and your docs link and the term 'ENC data' (which is new to me) helped me find the answer. The docs on parameters mention at the end of section 4.2.3: "To see how Foreman is passing the parameters to Puppet, go to a Hos

Re: [foreman-users] Finding parameters for a host

2017-07-07 Thread Greg Sutcliffe
On Wed, 2017-07-05 at 08:45 -0700, Brian McArdle wrote: > Is my understanding above all correct? Is there a shortcut that I'm > missing to finding out what values a host is using for a class? It's already in the ENC data that Foreman sends to Puppet (assuming the host is in the hostgroup in questi

[foreman-users] Finding parameters for a host

2017-07-05 Thread Brian McArdle
Hi all, relative newbie to Foreman here, trying to pull some data from the Foreman API for use in another application. I'll walk you through my thinking, so if I've made any mistakes, perhaps someone might point them out to me. I'm trying to pull out parameter data for a class on a host, which