Hi,

I want to retrieve server_facts as documented below but the puppet node face 
doesn’t seem to create a variable called $server_facts in the facts hash.

https://docs.puppet.com/puppet/latest/reference/lang_facts_and_builtin_vars.html#serverfacts-variable
 
<https://docs.puppet.com/puppet/latest/reference/lang_facts_and_builtin_vars.html#serverfacts-variable>

Is there a way to get this data via the node face?

ie. puppet node find puppetdev.localdomain —terminus rest —render-as yaml


$server_facts = {"serverversion"=>"4.4.2", 
"servername"=>"pe-puppet.localdomain", "serverip"=>"172.16.27.144", 
"environment"=>"production”}


Corey

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/B59A21D8-9B6D-45FD-845B-62FEED69D07C%40nwops.io.
For more options, visit https://groups.google.com/d/optout.

Reply via email to