Jira (FACT-3079) Caching not working for some custom facts

2022-10-07 Thread otheus (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 otheus commented on  FACT-3079  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Caching not working for some custom facts   
 

  
 
 
 
 

 
 This ought to be fixed for facter 3, not only "ng".   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.43568.1665165300114%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2022-10-07 Thread otheus (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 otheus commented on  FACT-3079  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Caching not working for some custom facts   
 

  
 
 
 
 

 
 bump  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.43557.1665164820038%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-12-08 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.1482.1638982381024%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-12-06 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Fix Version/s: 
 FACT 4.2.6  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.21260.1638820260141%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-11-17 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 NW - 2021-11-17 , NW - 2021-12-06  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.9140.1637140440384%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-11-16 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  FACT-3079  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Caching not working for some custom facts   
 

  
 
 
 
 

 
 Could be tested with full config from https://tickets.puppetlabs.com/browse/FACT-3080 to check for performance change  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.8266.1637068080109%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-11-03 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava assigned an issue to Dorin Pleava  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Assignee: 
 Dorin Pleava  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.169107.1635945420049%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-11-03 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Story Points: 
 5  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.168936.1635932102847%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-10-19 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Labels: 
 needs_repro  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.158104.1634647260030%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-10-19 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  FACT-3079  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Caching not working for some custom facts   
 

  
 
 
 
 

 
 Reproduced this bellow:    
 
 
 
 
 # cat /etc/puppetlabs/facter/facter.conf 
 
 
 facts : {  
 
 
 ttls : [  
 
 
 { "yum" : 6 hours },  
 
 
 ]  
 
 
 }  
 
 
 fact-groups : {  
 
 
  yum : ["yum_package_updates", "yum_has_updates", "yum_updates"],  
 
 
 }  
 
 
    
 
 
 # date  
 
 
 Tue Oct 19 12:30:48 UTC 2021  
 
 
 # ls -l /opt/puppetlabs/facter/cache/cached_facts/yum  
 
 
 -rw-r--r-- 1 root root 6959 Oct 19 12:29 /opt/puppetlabs/facter/cache/cached_facts/yum  

Jira (FACT-3079) Caching not working for some custom facts

2021-10-18 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 NW - 2021-11-17  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.157170.1634566800032%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-10-11 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Team: 
 Night's Watch  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.151622.1633961700331%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-10-11 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Labels: 
 needs_repro  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.418624.1633530707000.151621.1633961700289%40Atlassian.JIRA.


Jira (FACT-3079) Caching not working for some custom facts

2021-10-06 Thread Tom Parker (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom Parker created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3079  
 
 
  Caching not working for some custom facts   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 facter.conf, yum, yum-facter-debug.log  
 
 
Created: 
 2021/10/06 7:31 AM  
 
 
Environment: 
 Puppet 7.11 on CentOS 7  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Tom Parker  
 

  
 
 
 
 

 
 I have configured facter to cache and block several core and custom facts (puppet 7.11) and I am finding that the behaviour is odd.   The example that I have attached here is from the puppetlabs-yum module that declares 3 custom facts: - yum_package_updates (This is the primary fact that does all the work) - yum_has_updates (returns the value of yum_package_updates.any?) 
 
yum_updates (returns the value of yum_package_updates.length) 
 My facter.conf file (attached) declares a yum group that contains these 3 facts but when I run puppet only the yum_package_updates fact is cached (cache file attached). This seems to cause the other two dependent facts (yum_has_updates and yum_updates) to force the resolution (not from cache) of the main yum_package_updates fact. I can also see in the debug logs that it seems to use the cache sometimes but then lose the cached value and resolve it again.  It also states that the cache file is expired, missing or corrupt but the file is fresh, created by facter itself and the ttl is 6 hours. If I specify all 3 facts in the cache individually (not in a group) the caching behaviour seems to work properly.