Jira (PUP-9685) Allow providing required facts during Puppet initialization

1 view
Skip to first unread message

Justin Stoller (JIRA)

unread,
Apr 25, 2019, 5:26:02 PM4/25/19
to puppe...@googlegroups.com
Justin Stoller created an issue
 
Puppet / Improvement PUP-9685
Allow providing required facts during Puppet initialization
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/04/25 2:25 PM
Priority: Normal Normal
Reporter: Justin Stoller

During regular usage Puppet looks up values from Facter. In particular to create a node's catalog Puppet asks Facter for fqdn and ip information.

The server team would prefer to determine those values at start up and then feed them into Puppet when we initialize it, rather than every JRuby instance having to call Facter's JNI to retrieve them.

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Rob Braden (JIRA)

unread,
Apr 29, 2019, 1:07:02 PM4/29/19
to puppe...@googlegroups.com

Rob Braden (JIRA)

unread,
Apr 29, 2019, 1:07:03 PM4/29/19
to puppe...@googlegroups.com
Rob Braden updated an issue
Change By: Rob Braden
Sprint: Coremunity Grooming

Josh Cooper (JIRA)

unread,
May 2, 2019, 7:00:05 PM5/2/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming

Josh Cooper (JIRA)

unread,
May 2, 2019, 7:00:05 PM5/2/19
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Nov 11, 2021, 12:00:04 AM11/11/21
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-9685
 
Re: Allow providing required facts during Puppet initialization

As of PUP-11216 it's possible to provide an alternate facter implementation that returns static values for fqdn, ipaddress, ipaddress6, see https://github.com/puppetlabs/puppet/blob/8171a5358ff4352770598f91be31863fe455564a/lib/puppet/indirector/catalog/compiler.rb#L431-L440

It would also be good if puppetserver applied a settings catalog once (at startup), but not when initializing each JRuby instance, so that puppet doesn't try to load user/group/file providers and trigger more fact loading.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages