Jira (FACT-2712) Add integration test for loading custom facts

8 views
Skip to first unread message

Mihai Buzgau (Jira)

unread,
Jul 15, 2020, 7:27:03 AM7/15/20
to puppe...@googlegroups.com
Mihai Buzgau created an issue
 
Facter / Task FACT-2712
Add integration test for loading custom facts
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/07/15 4:26 AM
Priority: Normal Normal
Reporter: Mihai Buzgau

The facter file loader loads everything from lib/facter

this is done here: https://github.com/puppetlabs/facter/pull/1975/files#diff-96c9e2e400b47f0cddbb6c1cdf3589f7R69

 

We should add an integration test to validate that the same custom fact can be loaded multiple times.

 

Proposed test:

  • add a custom fact in [somedir]/lib/facter/mycustom_fact.rb
  • execute the custom fact
  • update the custom fact to change the value of the fact
  • execute the custom fact in the same instance and check if the value of the custom fact has changed
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Jul 15, 2020, 9:26:03 AM7/15/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Jul 15, 2020, 9:26:03 AM7/15/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: ready for triage ghost-22.07

Bogdan Irimie (Jira)

unread,
Jul 20, 2020, 5:25:03 AM7/20/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Bogdan Irimie
Change By: Bogdan Irimie
Assignee: Bogdan Irimie

Bogdan Irimie (Jira)

unread,
Jul 22, 2020, 9:06:08 AM7/22/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-22.07 , ready for triage 2
Reply all
Reply to author
Forward
0 new messages