Giter Club home page Giter Club logo

Comments (4)

adrienthebo avatar adrienthebo commented on June 24, 2024

@brownandsticky these errors indicate that the module isn't able to autoload all of the custom ruby plugin information for this package. I suspect that this should be fixed in Puppet 3.1 and greater; are you able to test that version of Puppet and see if this issue resolves itself?

Alternately this error might indicate that the autoloader needs to be updated to scan for libraries in puppet/util, but that's me musing more than anything else.

from puppet-portage.

brownandsticky avatar brownandsticky commented on June 24, 2024

@adrienthebo I installed puppet-3.1.1-r1 and the issue is resolved. Many thanks.

I'm just starting down the Puppet road. But this module brings Gentoo's packaging peculiarities under Puppet control perfectly. It creates/updates "/etc/portage/package.*/default" with the USE flags, keywords etc specified in the manifest.

from puppet-portage.

lifaguiar avatar lifaguiar commented on June 24, 2024

Change the file /usr/lib/ruby/site_ruby/1.8/puppet/util/autoload.rb to modify the load_file procedure to this form:

def load_file(name, env)
  file = get_file(name.to_s, env)
  return false unless file

  begin
    mark_loaded(name, file)
    Kernel.load file, @wrap
    return true
  rescue SystemExit,NoMemoryError
    raise
  rescue Exception => detail2
    begin
            mark_loaded(name, file)
            Kernel.load file, @wrap
            return true
    rescue Exception => detail
            message = "Could not autoload #{name}: #{detail}"
            Puppet.log_exception(detail, message)
            raise Puppet::Error, message, detail.backtrace
    end
  end
end

The Kernel.load is not loading the file fast enough.

from puppet-portage.

mrVanDalo avatar mrVanDalo commented on June 24, 2024

I got the same error using puppet 4.0.0, i downgraded to version 3.7.4 and everything is fine again.

from puppet-portage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.