Jira (FACT-2639) facter.conf location should be dependent on Agent AIO version

7 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
May 28, 2020, 4:23:03 AM5/28/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Task FACT-2639
facter.conf location should be dependent on Agent AIO version
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/05/28 1:22 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

When in AIO context, Facter should read the config file from `/etc/puppetlabs/facter/facter.conf`

When not in AIO context, Facter should read facter.conf from the gem root location.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Bogdan Irimie (Jira)

unread,
May 28, 2020, 4:59:03 AM5/28/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
When in AIO context, Facter should read the config file from `/etc/puppetlabs/facter/facter.conf`

When not in AIO context, Facter should read facter.conf from the gem root location.

 

Since `facter.conf` was introduced in Facter 3, the change does not affect clients that migrate from Facter 2 to Facter 4. Client that were using Facter 3, were using the Puppet AIO version, so they will not be impacted affected by this change.

 

The main advantage of this approach is that we can have different facter.conf files for different gems on Facter (e.g. the Facter from AIO agent can have a facter config, while the one from pe_installer can have another config)

Bogdan Irimie (Jira)

unread,
May 28, 2020, 4:59:03 AM5/28/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
When in AIO context, Facter should read the config file from `/etc/puppetlabs/facter/facter.conf`

When not in AIO context, Facter should read facter.conf from the gem root location.


 

Since `facter.conf` was introduced in Facter 3, the change does not affect clients that migrate from Facter 2 to Facter 4. Client that were using Facter 3, were using the Puppet AIO version, so they will not be impacted by this change.


 

The main advantage of this approach is that we can have different facter.conf files for different gems on Facter (e.g. the Facter from AIO agent can have a facter config, while the one from pe_installer can have another config)

Bogdan Irimie (Jira)

unread,
May 28, 2020, 5:00:03 AM5/28/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
When in AIO context, Facter should read the config file from `/etc/puppetlabs/facter/facter.conf`

When not in AIO context, Facter should read facter.conf from the gem root location.

 

Since `facter.conf` was introduced in Facter 3, the change does not affect clients that migrate from Facter 2 to Facter 4. Client that were are using Facter 3, were are using the Puppet AIO version, so they will not be affected by this change.


 

The main advantage of this approach is that we can have different facter.conf files for different gems on Facter (e.g. the Facter from AIO agent can have a facter config, while the one from pe_installer can have another config)
Reply all
Reply to author
Forward
0 new messages