Giter Club home page Giter Club logo

Comments (9)

igalic avatar igalic commented on September 25, 2024

the appropriate puppet issue is https://tickets.puppetlabs.com/browse/PUP-4450

from puppet-unbound.

dnaeon avatar dnaeon commented on September 25, 2024

I'm hitting the same issue.

Any chance this could be fixed soon?

Thanks,
Marin

from puppet-unbound.

zachfi avatar zachfi commented on September 25, 2024

@igalic Thank you for the link and tracking.

@dnaeon This is an issue with Puppetserver as I read that ticket, so I'm not sure what we can do in this module other than to remove the PuppetX work, which I'd like not to do for rspec reasons. Feel free to comment on the ticket that igalic linked.

from puppet-unbound.

chihoko avatar chihoko commented on September 25, 2024

Thanks xaque208, great module.

+1 is there a workaround or is this module simply not compatible with puppetserver?

from puppet-unbound.

zachfi avatar zachfi commented on September 25, 2024

For now, its not compatible. Helping push the conversation or add more information to https://tickets.puppetlabs.com/browse/PUP-4450 may help speed this along. Also note there is a PR in on Puppet, but looking over the comments it doesn't look like puppetlabs/puppet#4445 will be merged.

from puppet-unbound.

joshcooper avatar joshcooper commented on September 25, 2024

This is a long standing issue with puppet: https://projects.puppetlabs.com/issues/4248

The autoloader can load an environment specific function (or type, provider, report, etc), but the autoloader does not participate in loading its transitive dependencies. So if your function does a "raw" require puppet_x/unbound/validate_addrs, then ruby can't load it from an environment specific modulepath.

The general workaround is to require the helper code relative to the current file being autoloaded, e.g.

require File.dirname(__FILE__) + ' /../../puppet_x/unbound/validate_addrs'

I don't know if that's the right number of ..'s, but you get the idea. It's an ugly hack, but is used pretty widely in modules.

from puppet-unbound.

zachfi avatar zachfi commented on September 25, 2024

Excellent, thank you for the information @joshcooper!

from puppet-unbound.

zachfi avatar zachfi commented on September 25, 2024

#107

Would someone who is running Puppetserver mind testing out the above PR please?

from puppet-unbound.

zachfi avatar zachfi commented on September 25, 2024

This should be fixed in 1.2.1.

from puppet-unbound.

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.