Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-07-03 Thread Gheorghe Popescu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Popescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Gheorghe Popescu  
 
 
Fix Version/s: 
 PUP 6.4.3  
 
 
Fix Version/s: 
 PUP 6.0.10  
 
 
Fix Version/s: 
 PUP 5.5.15  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit 

Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-28 Thread Jean Bond (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean Bond updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Jean Bond  
 
 
Labels: 
 resolved-issue-added  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.713.1561740720306%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-25 Thread Kenn Hussey (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kenn Hussey updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Kenn Hussey  
 
 
Fix Version/s: 
 PUP 6.y  
 
 
Fix Version/s: 
 PUP 6.6.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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.59617.1561479180799%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-25 Thread Thomas Kishel (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Kishel commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 This is an unsupported method of patching:   
 
 
 
 
 # a.pp  
 
 
 file_line { 'PUP-9794':  
 
 
   path  => '/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package_targetable.rb',  
 
 
   line  => "require 'puppet/provider/package' # PUP-9794",  
 
 
   after => "# Rather, .*",  
 
 
 }
  
 
 
 
   
 
 
 
 
 root@ip-10-0-0-1:~# puppet apply a.pp   
 
 
 Error: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)  
 
 
 Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cache/lib/facter/package_provider.rb: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)  
 
 
 Notice: Compiled catalog for ip-10-0-0-1.us-west-2.compute.internal in environment production in 0.02 seconds  
 
 

Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58999.1561424880910%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Puppet Romania  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58997.1561424880818%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58957.1561422601114%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 The change had to be made in 5.5.x since that's where the original change was made. However, the regression was only released in 6.5.0, so that's the only fix version needed.  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58953.1561422600911%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.4.3  
 
 
Fix Version/s: 
 PUP 6.0.10  
 
 
Fix Version/s: 
 PUP 5.5.15  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit 

Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 Merged to 5.5.x in https://github.com/puppetlabs/puppet/commit/ec423edeeb9757c275d7c1e8c611989fc95d1dc0  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58944.1561422541364%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Thomas Kishel (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Kishel commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 The AMI used to test is: ami-1ee65166  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.58897.1561420620557%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-24 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.y  
 
 
Fix Version/s: 
 PUP 6.4.3  
 
 
Fix Version/s: 
 PUP 6.0.10  
 
 
Fix Version/s: 
 PUP 5.5.15  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to 

Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-21 Thread Thomas Kishel (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Kishel commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 https://github.com/puppetlabs/puppet/pull/7590  
 

  
 
 
 
 

 
 
 

 
 
 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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.313648.1561146763000.57281.1561158360098%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-21 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-9794  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
 On that system the autoloader loads all package providers, effectively calling:  
 
 
 
 
 > Dir.entries('/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package')"  
 
 
 gem.rb  
 
 
 blastwave.rb  
 
 
 ...
  
 
 
 
  The gem package provider requires 'puppet/provider/package_targetable`, which attempts to inherit directly from Puppet::Provider::Package. However, at that point in time, the constant refers to the Puppet::Util::Package module due to the Puppet::Util being mixed into all providers. This doesn't occur on other systems because Dir.entries returns providers in a different order:  
 
 
 
 
 $ Dir.entries('/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/package')"  
 
 
 aptrpm.rb  
 
 
 hpux.rb  
 
 
 aix.rb  
 
 
 ...
  
 
 
 
  And one of those providers requires puppet/provider/package before the gem provider is loaded, thereby defining Puppet::Provider::Package to the expected class.  
  

Jira (PUP-9794) Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)

2019-06-21 Thread Thomas Kishel (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Thomas Kishel created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9794  
 
 
  Could not autoload puppet/provider/package/gem: superclass must be a Class (Module given)   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 PUP 6.5.0  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2019/06/21 12:52 PM  
 
 
Environment: 
  
 
 
 
 
 puppet -V; puppetserver -v; /opt/puppetlabs/puppet/bin/ruby -v  
 
 
 6.5.0  
 
 
 puppetserver version: 6.4.0  
 
 
 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
  
 
 
 
  Triggered by package_provider fact in puppetlabs-stdlib  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Thomas Kishel  
 

  
 
 
 
 

 
 Puppet Version: 6.5.0 Puppet Server