On 14/11/16 14:32, Vishal Sarin wrote:
> Hi Dominic, The agents are windows based.
>
> One has 1.7.0 and other one has 1.5.3
>
> For 1.5.3 its working but for 1.7.0 they don't
I'm unsure from your description that you're defining "working" correctly.
This is not correct for recent versions of Puppet:
"networking": "{\"dhcp\"=>\"10.65.168.11\" [..]
Note also that this is not JSON. It's a stringified hash, but it's a
Puppet 3 style of sending hashes and shouldn't be expected on Puppet 4
(if that's the version of your agents).
If the agent is 1.5.3 then it ought to be using Puppet 4.5.2, which
shouldn't be sending this format.
> I am using puppet Server version 4.7.0 and I see that facts are coming in
> this format.
>
> "networking::interfaces::Ethernet::dhcp": "10.65.250.10",
This looks correct, each fact being sent individually. Facts will be
stored separately in Foreman instead of in one blob.
I can only suggest you need to upgrade the agent to ensure the host with
the older version sends it in the same way.
--
Dominic Cleal
[email protected]
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.