Jira (PUP-11263) Node name can be conflicted with class name

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-11263  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Node name can be conflicted with class name   
 

  
 
 
 
 

 
 I would only expect the error to be raised if the node name matched the top-level class name, since previously the was completely ignored, but only for that one host. I wouldn't expect node 'prometheus' to conflict with class 'role::prometheus', since we keep track of the class' namespace. That said, I'm not able to reproduce:  
 
 
 
 
 # rpm -qa | grep puppet  
 
 
 puppetserver-7.4.1-0.1SNAPSHOT.2021.09.21T2216.el8.noarch  
 
 
 puppet-agent-7.11.0-1.el8.x86_64  
 
 
 puppet-nightly-release-1.0.0-18.el8.noarch  
 
 
 # find /etc/puppetlabs/code/environments/production/ -type f  
 
 
 /etc/puppetlabs/code/environments/production/hiera.yaml  
 
 
 /etc/puppetlabs/code/environments/production/manifests/site.pp  
 
 
 /etc/puppetlabs/code/environments/production/environment.conf  
 
 
 /etc/puppetlabs/code/environments/production/site/role/manifests/prometheus.pp  
 
 
 # cat /etc/puppetlabs/code/environments/production/manifests/site.pp  
 
 
 node 'prometheus' {   
 
 
  

Jira (PUP-11066) optional_param does not set Integer to optional for custom ruby functions

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-11066  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: optional_param does not set Integer to optional for custom ruby functions   
 

  
 
 
 
 

 
 I think this is a case where 'optional' means different things in optional_param and Optional[T]. The former marks the parameter as an optional positional argument, while the latter is the type specification for the parameter, and Optional[T] will match either T or surprisingly Undef. See https://puppet.com/docs/puppet/7/lang_data_undef.html and https://tickets.puppetlabs.com/browse/PUP-8101?focusedCommentId=502043=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-502043 So if I have a wait function:  
 
 
 
 
 Puppet::Functions.create_function(:wait, Puppet::Functions::InternalFunction) do  
 
 
   dispatch :wait do  
 
 
 optional_param 'Integer[1]', :timeout  
 
 
   end  
 
 
    
 
 
   def wait(timeout = nil)  
 
 
 puts "timeout #{timeout.inspect}"  
 
 
   end  
 
 
 end
  
 
 
 
  Then I can omit the timeout parameter due to optional_param:  
 
 
 
 
 $ bx puppet apply -e 'wait()'   

Jira (PUP-11265) puppet-agent : Concat not respecting environments

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-11265  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet-agent : Concat not respecting environments   
 

  
 
 
 
 

 
 To repro delete everything from the production environment:  
 
 
 
 
 # rm -rf /etc/puppetlabs/code/environments/production/
  
 
 
 
  Create a new environment and install puppetlabs-concat into it:  
 
 
 
 
 # mkdir -p /etc/puppetlabs/code/environments/customer1/{manifests,files}  
 
 
 # puppet module install puppetlabs-concat -v 7.1.1 --environment customer1  
 
 
 # cat < /etc/puppetlabs/code/environments/customer1/manifests/site.pp   
 
 
 include df_modsec  
 
 
 END  
 
 
 # cat < /etc/puppetlabs/code/environments/customer1/modules/df_modsec/manifests/init.pp   
 
 
 class df_modsec {  
 
 
   $file = '/tmp/file'  
 
 
    
 
 
   concat { $file:  
 
 
  

Jira (PUP-11265) puppet-agent : Concat not respecting environments

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11265  
 
 
  puppet-agent : Concat not respecting environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 7.11.0  
 
 
Fix Version/s: 
 PUP 7.10.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11265) puppet-agent : Concat not respecting environments

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper moved an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11265  
 
 
  puppet-agent : Concat not respecting environments   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 puppet-agent 7.9.0  
 
 
Fix Version/s: 
 PUP 7.12.0  
 
 
Fix Version/s: 
 PUP 7.11.0  
 
 
Fix Version/s: 
 PUP 7.10.0  
 
 
Key: 
 PA PUP - 3977 11265  
 
 
Affects Version/s: 
 puppet-agent 7.10.0  
 
 
Affects Version/s: 
 PUP 7.10.0  
 
 
Project: 
 Puppet  Agent  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

   

Jira (PUP-11184) Autoloader is confused by Windows 8.3 paths

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11184  
 
 
  Autoloader is confused by Windows 8.3 paths   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-9573) win32-service gem needs updating

2021-09-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9573  
 
 
  win32-service gem needs updating   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3074) '--log-level none' throws exception

2021-09-27 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3074  
 
 
  '--log-level none' throws exception   
 

  
 
 
 
 

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

  
 
 
 
 

 
 
 

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


Jira (PUP-11236) Reduce allocated memory in `lib/puppet/pops/parser/lexer2.rb`

2021-09-27 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11236  
 
 
  Reduce allocated memory in `lib/puppet/pops/parser/lexer2.rb`   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 NW - 2021-10-20  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11239) multiple facter implementations demo

2021-09-27 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11239  
 
 
  multiple facter implementations demo   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 NW - 2021-10-20  
 

  
 
 
 
 

 
 
 

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


Jira (FACT-3075) Windows 2022 is detected as Windows 2019

2021-09-27 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-3075  
 
 
  Windows 2022 is detected as Windows 2019   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Sprint: 
 NW - 2021-10-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.416781.1632314698000.139940.1632750300213%40Atlassian.JIRA.


Jira (PUP-11232) freeze string in the prime candidates files

2021-09-27 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11232  
 
 
  freeze string in the prime candidates files   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11205) implement snyk Code Scanning for puppet

2021-09-27 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11205  
 
 
  implement snyk Code Scanning for puppet   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11201) Refine when the last used environment is used

2021-09-27 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11201  
 
 
  Refine when the last used environment is used   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-11199) Document exec type's 'onlyif' and 'unless' commands behavior with --noop

2021-09-27 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11199  
 
 
  Document exec type's 'onlyif' and 'unless' commands behavior with --noop   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-10897) List "manages local users and groups" (forcelocal) provider support as "with libuser"

2021-09-27 Thread Dorin Pleava (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Dorin Pleava updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10897  
 
 
  List "manages local users and groups" (forcelocal) provider support as "with libuser"   
 

  
 
 
 
 

 
Change By: 
 Dorin Pleava  
 
 
Fix Version/s: 
 PUP 6.25.0  
 

  
 
 
 
 

 
 
 

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