Giter Club home page Giter Club logo

Comments (6)

buzzdeee avatar buzzdeee commented on June 23, 2024

removing the Unix::Path from stub.pp, it fails then with:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Failed to parse template unbound/stub.erb:
Filepath: /etc/puppetlabs/code/environments/production/modules/unbound/templates/stub.erb
Line: 4
Detail: uninitialized constant Puppet::Parser::TemplateWrapper::PuppetX
Did you mean? Puppet_X
PuppetDB
Puppet::Parser::TemplateWrapper::Puppetdb
(file: /etc/puppetlabs/code/environments/production/modules/unbound/manifests/stub.pp, line: 41, column: 16) (file: /etc/puppetlabs/code/environments/production/modules/profile/manifests/dnsserver.pp, line: 35) on node mynode
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

from puppet-unbound.

zachfi avatar zachfi commented on June 23, 2024

Hmm, it looks like the path reference should be Stdlib::Unixpath I suspect. I'll test the latest in my environment sometime soon.

from puppet-unbound.

zachfi avatar zachfi commented on June 23, 2024

#222 is incomplete. I'll come back.

from puppet-unbound.

zachfi avatar zachfi commented on June 23, 2024

Hi @buzzdeee, I believe #222 will solve the issue, can you confirm? Thanks for putting up the issue.

from puppet-unbound.

buzzdeee avatar buzzdeee commented on June 23, 2024

@xaque208
I tested #222 and it generally works for me.
Only note: before that I had the stub IP address as a string, now it requires an Array due to the loop in the template.
The stub.pp still allows Array and String. So either the stub.pp needs to be more strict, or the template should be more relaxed.

from puppet-unbound.

b4ldr avatar b4ldr commented on June 23, 2024

this was fixed in #222

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.