On Wed, Nov 11, 2015 at 9:42 AM, Matt Zagrabelny <mzagr...@d.umn.edu> wrote:
> Greetings,
>
> I'm getting ready to spin up a puppet 3.7 environment (Debian Jessie)
> and was reading about the top level $facts hash that holds the
> client's facts. The puppet documentation states that it is off by
> default in the open source version [1].
>
> "Drawbacks: Only works with Puppet 3.5 or later. Disabled by default
> in open source releases prior to Puppet 4.0."
>
> I grepped the configs on my puppet master and didn't see what config I
> need to change to enable this feature.
>
> # puppet config print | grep fact
> cfacter = false
> facts_terminus = facter
> inventory_terminus = facter
> stringify_facts = true
> node_name_fact =
> dynamicfacts = memorysize,memoryfree,swapsize,swapfree
> pluginfactdest = /var/lib/puppet/facts.d
> pluginfactsource = puppet://puppet/pluginfacts
> factpath = /var/lib/puppet/lib/facter
>
> Any ideas on how to enable this feature?

>From [2]:

trusted_node_data = true (Puppet master/apply only) — This enables the
$trusted and $facts hashes, so you can start using them in your own
code.

Cheers,

-m

[2] 
http://docs.puppetlabs.com/puppet/3.8/reference/config_important_settings.html

-- 
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/CAOLfK3VznC2qM_NGQ_%2Bi9LPqQ7giv1%3DSwKjEFZ7GfZ5KWuVR4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to