Jira (FACT-3036) Null value custom facts don't load

2022-10-05 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 Ok thanks for checking back in Brian Gibson I'll close for now, but feel free to reopen if you can reproduce.  
 

  
 
 
 
 

 
 
 

 
 
 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.398788.1620671725000.41867.1664986740075%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2022-10-05 Thread Brian Gibson (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brian Gibson commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 To be honest this has been so long ago I don't recall it anymore.  If others are saying that it's working as intended I guess just close it out.  
 

  
 
 
 
 

 
 
 

 
 
 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.398788.1620671725000.41674.1664970540043%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2022-04-21 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 bgibson710 have you been able to reproduce the error? Note I found some discrepancies between facter 3 and 4, see FACT-3111. Not sure it's related?  
 

  
 
 
 
 

 
 
 

 
 
 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.398788.1620671725000.15935.1650562920032%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2021-05-11 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3036  
 
 
  Null value custom facts don't load   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Labels: 
 community  
 

  
 
 
 
 

 
 
 

 
 
 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.398788.1620671725000.29972.1620744660058%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2021-05-11 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3036  
 
 
  Null value custom facts don't load   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
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.398788.1620671725000.29973.1620744660117%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2021-05-11 Thread Gheorghe Popescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Popescu commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 I've upgraded to the latest puppet/server/pdb and I can see the fact.  
 
 
 
 
 ❯ curl -X GET http://localhost:8080/pdb/query/v4/facts/var | jq .  
 
 
    
 
 
 [  
 
 
   {  
 
 
 "certname": "my_host",  
 
 
 "environment": "production",  
 
 
 "name": "var",  
 
 
 "value": "null"  
 
 
   }  
 
 
 ]
  
 
 
 
         
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  

Jira (FACT-3036) Null value custom facts don't load

2021-05-11 Thread Brian Gibson (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brian Gibson commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 Okay I see that behavior as well, the problem I'm having results from accessing information from puppetdb specifically. On my puppet master server I have the following versions: puppetserver 6.15.3 puppetdb 6.16.1   We're using a python script against puppetdb.  When we have facts that are set with a null value, with puppet agent 6.22.1 they show  up in puppetdb also with the null value, but when my puppet agents were upgraded to version 7 my facts with null values no longer populate in puppetdb.  
 

  
 
 
 
 

 
 
 

 
 
 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.398788.1620671725000.29839.1620731760034%40Atlassian.JIRA.


Jira (FACT-3036) Null value custom facts don't load

2021-05-11 Thread Gheorghe Popescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Popescu commented on  FACT-3036  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Null value custom facts don't load   
 

  
 
 
 
 

 
 Hi Brian Gibson I've tried to reproduce the issue with the following file, but I can access the fact:      
 
 
 
 
 ❯ cat /etc/puppetlabs/facter/facts.d/test.txt  
 
 
 var=null  
 
 
 ❯ /opt/puppetlabs/puppet/bin/facter --version  
 
 
 4.1.1  
 
 
 ❯ /opt/puppetlabs/puppet/bin/facter var  
 
 
 null  
 
 
 ❯ puppet apply -e 'notice($facts["var"])'  
 
 
 Notice: Scope(Class[main]): null
  
 
 
 
      Can you provide a bit more of details?      
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 

Jira (FACT-3036) Null value custom facts don't load

2021-05-10 Thread Brian Gibson (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brian Gibson created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3036  
 
 
  Null value custom facts don't load   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 FACT 4.0.44  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Facter 4  
 
 
Created: 
 2021/05/10 11:35 AM  
 
 
Environment: 
 I'm running Centos 7 with Puppet 7.6.1-1.  
 
 
Fix Versions: 
 FACT 3.y  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Brian Gibson  
 

  
 
 
 
 

 
 In Facter 3, if I have a custom fact, a simple one in a txt file in /etc/puppetlabs/facter/facts.d/ where the variable = null, it will show up in facts, and I can use it in my code checking for the null value.  In Facter 4, the variable doesn't load at all.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment