I think this might be relevant, I am guessing the facts hash is being
stringified:
https://docs.puppet.com/puppet/3.8/reference/lang_facts_and_builtin_vars.html#data-types


Rob Nelson
rnels...@gmail.com

On Fri, Nov 4, 2016 at 6:22 PM, <ddoughtye...@gmail.com> wrote:

> facter tells me this:
>
> os => {"family"=>"RedHat", "name"=>"OracleLinux",
> "release"=>{"major"=>"6", "full"=>"6.6", "minor"=>"6"}}
>
> but puppet agent --test tells me this:
>
> [root@q061oracl0901 puppet]# puppet agent --test
> Info: Retrieving pluginfacts
> Info: Retrieving plugin
> Info: Loading facts
> Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
> {"message":"Server Error: Evaluation Error: Error while evaluating a
> Resource Statement, Data Provider type mismatch: Got String when a
> hash-like object was expected to access value using 'name' from key '
> facts.os.name' on node q061oracl0901.dqscust.local","
> issue_kind":"RUNTIME_ERROR"}
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
> [root@q061oracl0901 puppet]#
>
> Client is v3.8.7
>
> Running Foreman1.13 on the server.
>
> I can telnet to 8140 from the client to the server.  The agent was running
> successfully for a while.  I added the grub2 class and removed it.  I also
> put the client into a host group.  I've now removed it to try to
> troubleshoot the problem.  Any ideas?
>
> Thanks,
> Dan
>
> --
> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/1821c213-e195-4a10-9dea-fcae1dcaf34b%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/1821c213-e195-4a10-9dea-fcae1dcaf34b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT_UbsLLXWNpDQbV4qiWomdXf-2j8%3Dr0zPPmYdhM-x4fPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to