Jira (FACT-3078) custom-dir is silently skipped if it is not absolute path

2022-10-06 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3078  
 
 
  custom-dir is silently skipped if it is not absolute path   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3130) ipaddress_* ipaddress6_* facts missing on FreeBSD

2022-10-06 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3130  
 
 
  ipaddress_* ipaddress6_* facts missing on FreeBSD   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3137) ec2_metadata is missing on FreeBSD

2022-10-06 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3137  
 
 
  ec2_metadata is missing on FreeBSD   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed ec2 freebsd  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3145) networking facts generating conversion error: ERROR Facter::InternalFactManager - U+FFFF to CP850 in conversion from UTF-16LE to UTF-8 to CP850

2022-10-06 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3145  
 
 
  networking facts generating conversion error: ERROR Facter::InternalFactManager - U+ to CP850 in conversion from UTF-16LE to UTF-8 to CP850   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed jira_escalated  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3156) confine iterable/block incorrectly lowercases the value

2022-10-06 Thread Andy Neff (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andy Neff updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3156  
 
 
  confine iterable/block incorrectly lowercases the value   
 

  
 
 
 
 

 
Change By: 
 Andy Neff  
 
 
Summary: 
 confine iterable /block  incorrectly lowercases the value  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11629) Puppet::Util::Json raises when reading an empty file

2022-10-06 Thread Parker Leach (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Parker Leach updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11629  
 
 
  Puppet::Util::Json raises when reading an empty file   
 

  
 
 
 
 

 
Change By: 
 Parker Leach  
 
 
Labels: 
 docs_reviewed  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3156) confine iterable incorrectly lowercases the value

2022-10-06 Thread Andy Neff (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andy Neff updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3156  
 
 
  confine iterable incorrectly lowercases the value   
 

  
 
 
 
 

 
Change By: 
 Andy Neff  
 

  
 
 
 
 

 
 h2. Who found the bug?Me. Sorry, I am new to ruby, but I believe I understand what it is I'm trying to do and what is going wrong.h2. Where was the bug found? * System: Developing in a docker * Version: 4.2.12 * Operating system(s): Linux * Puppet version: 7.19.0h2. What is malfunctioning?According to the documentation, when wring custom facts, there are 3 ways to confine: # {{confine :kernel => "Linux"}}As I understand this it calls \{{confine }}with a hashmap as an argument. So I assume confine matches based on that. # {{confine kernel: "Linux"}}As I understand this, it calls {{confine}} using the argument names {{kernel}} with the value {{{}"Linux"{}}}. So I assume confine matches based on that. # The third method is calling {{confine}} as an do iterable I think?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Unfortunately it is this third method that does not work. This exact example comes straight out of [https://puppet.com/docs/puppet/7/fact_overview.html#writing_structured_facts]After adding numerous {{{}puts{}}}'s, I was able to figure out what was going on. For some reason, the third method was incorrectly lowercasing the value, so it was {{linux}} instead of {{{}Linux{}}}. This is both surprising, and unnecessary . The currently documented way is  given  the  most logical and consistent way, but not how it worked  behavior of the other two forms .{{Facter.value(:kernel)}} is also the correct case: {{Linux}}h2. What does success look like?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Should work exactly like the othersh2. How will success be validated?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Working}}{}}}h2. Should anyone be contacted after this is fixed?Just this ticket  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 

Jira (FACT-3156) confine iterable incorrectly lowercases the value

2022-10-06 Thread Andy Neff (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andy Neff updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3156  
 
 
  confine iterable incorrectly lowercases the value   
 

  
 
 
 
 

 
Change By: 
 Andy Neff  
 
 
Summary: 
 confine iterable  is  incorrectly lowercases the value  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3156) confine iterable is incorrectly lowercases the value

2022-10-06 Thread Andy Neff (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andy Neff updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3156  
 
 
  confine iterable is incorrectly lowercases the value   
 

  
 
 
 
 

 
Change By: 
 Andy Neff  
 

  
 
 
 
 

 
 h2. Who found the bug?Me. Sorry, I am new to ruby, but I believe I understand what it is I'm trying to do and what is going wrong.h2. Where was the bug found? * System: Developing in a docker * Version: 4.2.12 * Operating system(s): Linux * Puppet version: 7.19.0h2. What is malfunctioning?According to the documentation, when wring custom facts, there are 3 ways to confine: # {{confine :kernel => "Linux"}}As I understand this it calls  \  {{confine }}with a hashmap as an argument. So I assume confine matches based on that.   # {{confine kernel: "Linux"}}As I understand this, it calls {{confine}} using the argument names {{kernel}} with the value {{{}"Linux"{}}}. So I assume confine matches based on that. # The third method is calling {{confine}} as an do iterable I think?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Unfortunately it is this third method that does not work. This exact example comes straight out of [https://puppet.com/docs/puppet/7/fact_overview.html#writing_structured_facts]After adding numerous {{{}puts{}}}'s, I was able to figure out what was going on. For some reason, the third method was incorrectly lowercasing the value, so it was {{linux}} instead of {{{}Linux{}}}. This is both surprising, and unnecessary. The currently documented way is the most logical and consistent way, but not how it worked.{{Facter.value(:kernel)}} is also the correct case: {{Linux}}h2. What does success look like?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Should work exactly like the othersh2. How will success be validated?{{​confine :kernel do |value|​}}{{​  value == "Linux"​}}{{​end​}}Working{{{ { } } {}}}h2. Should anyone be contacted after this is fixed?Just this ticket  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
   

Jira (FACT-3156) confine iterable is incorrectly lowercases the value

2022-10-06 Thread Andy Neff (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andy Neff created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3156  
 
 
  confine iterable is incorrectly lowercases the value   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 FACT 4.2.11, FACT 4.2.12  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Facter 4  
 
 
Created: 
 2022/10/06 2:25 PM  
 
 
Environment: 
 docker run -it --rm --entrypoint= puppet/puppet-agent bash puppet agent -t  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Andy Neff  
 

  
 
 
 
 

 
 Who found the bug? Me. Sorry, I am new to ruby, but I believe I understand what it is I'm trying to do and what is going wrong. Where was the bug found? 
 
System: Developing in a docker 
Version: 4.2.12 
Operating system(s): Linux 
Puppet version: 7.19.0 
 What is malfunctioning? According to the documentation, when wring custom facts, there are 3 ways to confine: 
 
confine :kernel => "Linux" As I understand this it calls {{confine }}with a hashmap as an argument. So I assume confine matches based on that. 
 
 
confine kernel: "Linux" As I understand this, it calls 

Jira (FACT-3155) Remove timecop from spec tests

2022-10-06 Thread Michael Hashizume (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Michael Hashizume created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3155  
 
 
  Remove timecop from spec tests   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2022/10/06 2:16 PM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Michael Hashizume  
 

  
 
 
 
 

 
 timecop was added as spec dependency in Facter for a specific AWS-related test: https://github.com/puppetlabs/facter/commit/8c323415a59025232fc06e1dc5853e10c5ee8a32 However, we've recently run into an issue while testing Ruby 3.2.0 preview releases because of how timecop interacts with Psych: https://github.com/travisjeffery/timecop/issues/390 We should deprecate timecop from the AWS test to reduce our external dependencies.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira 

Jira (PUP-11546) Request feature to normalize case in Hiera interpolation tokens within hiera.yaml

2022-10-06 Thread David Piekny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Piekny commented on  PUP-11546  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Request feature to normalize case in Hiera interpolation tokens within hiera.yaml   
 

  
 
 
 
 

 
 Erwin Solis Josh Cooper I've raised the priority of this ticket within this epic (which is a collection of independent maintenance items).  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11546) Request feature to normalize case in Hiera interpolation tokens within hiera.yaml

2022-10-06 Thread David Piekny (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Piekny updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11546  
 
 
  Request feature to normalize case in Hiera interpolation tokens within hiera.yaml   
 

  
 
 
 
 

 
Change By: 
 David Piekny  
 
 
Priority: 
 Normal Major  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3151) Facter fails on the `/etc/os-release` that contains the '#`

2022-10-06 Thread Fabiano Pires (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Fabiano Pires commented on  FACT-3151  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Facter fails on the `/etc/os-release` that contains the '#`   
 

  
 
 
 
 

 
 I stumbled at the same problem and wrote a patch. What are the steps so I can send it to you?    
 

  
 
 
 
 

 
 
 

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


Jira (FACT-1858) Provide an option to disable legacy facts so they are not sent to the master from the agent

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


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-1858  
 
 
  Provide an option to disable legacy facts so they are not sent to the master from the agent   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Epic Link: 
 PA-4664  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-146) Install multiple packages with one call to the underlying package manager

2022-10-06 Thread Martin Petersen (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Petersen commented on  PUP-146  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Install multiple packages with one call to the underlying package manager   
 

  
 
 
 
 

 
 Are there any news about this issue? It is nearly 10 years old and still a very serious performance problem. I would be very glad to see a solution for it.  
 

  
 
 
 
 

 
 
 

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