Giter Site home page Giter Site logo

Comments (11)

pcfens avatar pcfens commented on July 28, 2024 1

That sounds about right then. The class itself needs to be declared before managing CAs since it's what takes care of package management and updating the system CA list when something changes.

You can use include ::ca_cert as many times as you want without causing an error, so you can drop that piece in your root::cert class and other CA managing modules and they'll each work without a wrapper module around them.

from puppet-ca_cert.

pcfens avatar pcfens commented on July 28, 2024

Is the ca_cert class declared anywhere, or only ca_cert::ca resources?

from puppet-ca_cert.

summerm78 avatar summerm78 commented on July 28, 2024

The class is defined in the environment in Satellite 6.

from puppet-ca_cert.

pcfens avatar pcfens commented on July 28, 2024

I'm not familiar with how Satellite manages it's puppet configs, so I'll have to take a look a little bit deeper.

While I'm figuring out what's going on, could you try pinning the module to us version 1.4.1 instead of latest? I suspect that the error is related to a change introduced in 1.4.2.

from puppet-ca_cert.

summerm78 avatar summerm78 commented on July 28, 2024

We have already pinned the module to version 1.4.1. With this version the the module workes.

from puppet-ca_cert.

pcfens avatar pcfens commented on July 28, 2024

Is there any chance you can test what's hosted in GitHub for me? I've modified the defined resource type so that the files depend on the ca_cert class rather than the package specifically.

from puppet-ca_cert.

summerm78 avatar summerm78 commented on July 28, 2024

Sorry for the late response. I tried it, but i get the same error.

from puppet-ca_cert.

pcfens avatar pcfens commented on July 28, 2024

If you're managing a CA in a manifest (as opposed to hiera), could you try adding require => Class['ca_cert'], to your ca_cert::ca { ... resource with the latest version that you've been having issues with?

If it changes the error message could you send that along? If it works then it should help point me to where I need to dig some more.

Thanks for working through this with me.

from puppet-ca_cert.

summerm78 avatar summerm78 commented on July 28, 2024

I've to take a deeper look at this with a workmate on monday and we will provide feedback as son as possible.

from puppet-ca_cert.

summerm78 avatar summerm78 commented on July 28, 2024

With version 1.5.0 we get it running. But we have to include the ca_cert in our init.pp.

class root { include ca_cert #include root::ssh_key include root::cert }

from puppet-ca_cert.

pcfens avatar pcfens commented on July 28, 2024

I'm going to go ahead and close tbis since it sounds like everything is working. If you still are having issues we can always reopen this.

from puppet-ca_cert.

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.