Giter VIP home page Giter VIP logo

Comments (7)

jhazelwo avatar jhazelwo commented on June 9, 2024

Yep, sorry about that- totally my fault. I've already submitted a new pull request.

from puppet-wildfly.

bjwschaap avatar bjwschaap commented on June 9, 2024

Still not fixed @jhazelwo

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: Exec[curl http://repos/software/postgresql/postgresql-9.4-1204.jdbc41.jar] { require => Package[curl] }, because Package[curl] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

We have a CentOS install/template that includes curl by default, so I don't want Puppet to manage it. You can't optionally manage it, but then hard-require it....

I would suggest removing the require => Package['curl'], and instead make it smart:

if defined(Package['curl']) {
  Package['curl'] -> Exec["curl ${source}"]
}

Just my 2 cents..

from puppet-wildfly.

jairojunior avatar jairojunior commented on June 9, 2024

@bjwschaap It's fixed in master using @mmarseglia suggestion. We're about to publish this new version (0.5.0) to forge.

As a matter of fact, I replaced curl for wget to leverage its cache capabilities.

from puppet-wildfly.

bjwschaap avatar bjwschaap commented on June 9, 2024

@jairojunior no it's not, I'm on latest master and get the error above... Line 39 in module.pp will not work by simply requiring a resource via ensure_resource.

from puppet-wildfly.

jairojunior avatar jairojunior commented on June 9, 2024

@bjwschaap You're right. I forgot about wildfly::config::module. =/

from puppet-wildfly.

bjwschaap avatar bjwschaap commented on June 9, 2024

@jairojunior no problem

from puppet-wildfly.

jairojunior avatar jairojunior commented on June 9, 2024

Guess it's ok now. Created v0.5 tag.

from puppet-wildfly.

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.