Jira (PUP-9650) Run rspec tests against ruby 2.6 or latest

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper assigned an issue to Josh Cooper  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9650  
 
 
  Run rspec tests against ruby 2.6 or latest   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Assignee: 
 Josh Cooper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9555) Update FFI dependency for Ruby 2.6 compatibility

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper assigned an issue to Josh Cooper  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9555  
 
 
  Update FFI dependency for Ruby 2.6 compatibility   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Assignee: 
 Josh Cooper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9555) Update FFI dependency for Ruby 2.6 compatibility

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9555  
 
 
  Update FFI dependency for Ruby 2.6 compatibility   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9555) Update FFI dependency for Ruby 2.6 compatibility

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9555  
 
 
  Update FFI dependency for Ruby 2.6 compatibility   
 

  
 
 
 
 

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

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9650) Run rspec tests against ruby 2.6 or latest

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9650  
 
 
  Run rspec tests against ruby 2.6 or latest   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.y  
 
 
Fix Version/s: 
 PUP 6.11.0  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9650) Run rspec tests against ruby 2.6 or latest

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9650  
 
 
  Run rspec tests against ruby 2.6 or latest   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Coremunity Hopper Platform Core KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-10123) Static catalogs should check whether a directory is inlineable before collecting metadata for its children

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10123  
 
 
  Static catalogs should check whether a directory is inlineable before collecting metadata for its children   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-10121) Could not request certificate

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-10121  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not request certificate   
 

  
 
 
 
 

 
 This is caused by https://github.com/puppetlabs/puppet/commit/ae66c85257863f77414764fb1ec2a94e3e28c781#diff-2922d59db00e24a1d849c8e7e19a4665R314, as it assumes every exception constructor takes one argument, but that's not true for Net::HTTP exceptions  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-10121) Could not request certificate

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10121  
 
 
  Could not request certificate   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-1137) Maintenance task for the filebucket

2019-11-07 Thread Nick Walker (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Walker commented on  PUP-1137  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Maintenance task for the filebucket   
 

  
 
 
 
 

 
 I'd recommend making a cron resource that deletes files older than you want. The tidy resource uses an intense amount of computing power compared to `find -delete` which uses practically no compute and completes instantly.  I think this is roughly the find command you want.  https://github.com/puppetlabs/puppetlabs-puppet_metrics_collector/blob/master/templates/tidy_cron.epp#L14  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-9407) Don't backup to the local filebucket by default

2019-11-07 Thread Chris Denneen (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chris Denneen commented on  PUP-9407  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Don't backup to the local filebucket by default   
 

  
 
 
 
 

 
 I think the filebucket as it's been implemented it might be okay to remove since honestly I don't think anyone actually uses it. The issue there is I don't think they use it because it isn't a useful feature, sadly I think they don't use it because it's not a very clear feature to use. (or simple with needing to use checksums) If this becomes a clearer/easier feature then I think it actually could be very useful for people.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-1137) Maintenance task for the filebucket

2019-11-07 Thread Chris Denneen (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chris Denneen commented on  PUP-1137  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Maintenance task for the filebucket   
 

  
 
 
 
 

 
 Cleaned up my PE with this suggestion in case anyone has this issue still:    
 
 
 
 
 tidy { '/opt/puppetlabs/server/data/puppetserver/bucket':  
 
 
 age => '5w',  
 
 
 recurse => true,  
 
 
 rmdirs  => true,  
 
 
 backup => false,  
 
 
 }
  
 
 
 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

Jira (PUP-10123) Static catalogs should check whether a directory is inlineable before collecting metadata for its children

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10123  
 
 
  Static catalogs should check whether a directory is inlineable before collecting metadata for its children   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/11/07 9:51 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Josh Cooper  
 

  
 
 
 
 

 
 While researching PE-27428 we discovered that the compiler terminus collects metadata for each file resource and then decides whether the metadata can be inlined or not (only files within a module in the per-environment directory). In the case of a recursive file resource, the terminus collects metadata for the directory and its children. See https://github.com/puppetlabs/puppet/blob/d579170b0583eed4e9050a8b798574c451f3c2ac/lib/puppet/indirector/catalog/compiler.rb#L186-L204 PE uses a recursive file resource to provision a replica. The resource is of the form:  
 
 
 
 
 file { "/opt/puppetlabs/server/data/packages/public":  
 
 
   ensure => directory,  
 
 
   purge => true,  
 
 
   recurse => true,  
 
 
   force => true,  
   

Jira (PDB-4579) Enable tcpKeepAlive on the postgres driver

2019-11-07 Thread Robert Roland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Roland assigned an issue to Robert Roland  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 PuppetDB /  PDB-4579  
 
 
  Enable tcpKeepAlive on the postgres driver   
 

  
 
 
 
 

 
Change By: 
 Robert Roland  
 
 
Assignee: 
 Robert Roland  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-10122) Only collect checksum metadata for links pointing to files

2019-11-07 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10122  
 
 
  Only collect checksum metadata for links pointing to files   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/11/07 9:42 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Josh Cooper  
 

  
 
 
 
 

 
 While researching PE-27428 we discovered that if a symlink refers to a directory, puppet will call Puppet::Util::Checksums.md5_file on the link, and silently rescue if it raises. See https://github.com/puppetlabs/puppet/blob/d579170b0583eed4e9050a8b798574c451f3c2ac/lib/puppet/file_serving/metadata.rb#L120. If the symlink refers to a directory, then Ruby is supposed to raise EISDIR, which it does in MRI ruby. However, there is a bug in JRuby 9.1.16 which causes File.open to get into an infinite loop.  Since puppet knows the file is a symlink, and reads the link to find what the link points to, then it should probably stat the destination/target to see whether it should checksum it. /cc Joshua Partlow, Maggie Dreyer  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

Jira (PDB-4579) Enable tcpKeepAlive on the postgres driver

2019-11-07 Thread Robert Roland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Robert Roland commented on  PDB-4579  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Enable tcpKeepAlive on the postgres driver   
 

  
 
 
 
 

 
 After some digging, tcpKeepAlive won't help here - there's a bug in the underlying PostgreSQL JDBC driver that it doesn't detect dead connections properly. We'll upgrade the PostgreSQL driver to handle this.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





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


Jira (PUP-10121) Could not request certificate

2019-11-07 Thread Gauthier HEISS (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gauthier HEISS created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10121  
 
 
  Could not request certificate   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 PUP 5.5.17  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Networking  
 
 
Created: 
 2019/11/07 6:21 AM  
 
 
Environment: 
 Redhat Entreprise Linux 7.7 Puppet agent 5.5.17  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Gauthier HEISS  
 

  
 
 
 
 

 
 Puppet Version: 5.5.17 Puppet Server Version: 5.3.6 OS Name/Version: RHEL 7.7 I am migrating RHEL servers from RHS 5 to 6. Everything is working properly, except for requesting Puppet Certificate. After editing my puppet.conf on my client, and do a puppet agent -t for example, I have error "Error: Could not request certificate: wrong number of arguments (given 1, expected 2)". Desired Behavior: Get an actual certificate request Actual Behavior: Got the error "Error: Could not request certificate: wrong number of arguments (given 1, expected 2)".   Debug: Selected server from the ca_server setting: [RHS URL] Debug: Selected port from the ca_port setting: 8140 Debug: Creating new connection for [RHS URL]:8140 Error: Could not request certificate: wrong number of arguments (given 1, expected 2) /opt/puppetlabs/puppet/lib/ruby/2.4.0/net/http/exceptions.rb:6:in `initialize' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/connection.rb:322:in `new' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/connection.rb:322:in `rescue in execute_request' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/connection.rb:306:in `execute_request' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/network/http/connection.rb:

Jira (FACT-2107) Create fips_enabled resolver for fedora.

2019-11-07 Thread Gheorghe Campean (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Campean created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2107  
 
 
  Create fips_enabled resolver for fedora.   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Gheorghe Campean  
 
 
Created: 
 2019/11/07 4:32 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Gheorghe Campean  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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.333

Jira (FACT-2106) Update FFI component in Puppet Agent

2019-11-07 Thread Sebastian Miclea (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sebastian Miclea created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-2106  
 
 
  Update FFI component in Puppet Agent   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/11/07 12:13 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Sebastian Miclea  
 

  
 
 
 
 

 
 Component definition for rubygem-ffi needs to be updated so it can be updated automatically with mergeups.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)