Comments (11)
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.
Is the ca_cert
class declared anywhere, or only ca_cert::ca
resources?
from puppet-ca_cert.
The class is defined in the environment in Satellite 6.
from puppet-ca_cert.
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.
We have already pinned the module to version 1.4.1. With this version the the module workes.
from puppet-ca_cert.
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.
Sorry for the late response. I tried it, but i get the same error.
from puppet-ca_cert.
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.
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.
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.
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)
- `purge_unmanaged_CAs` actually purges managed CA's too
- include ca_cert::update in ca_cert::ca HOT 2
- why is the cert dir mode set to 0555? HOT 5
- Bug on RHEL 6.9: update-ca-trust fails because directory permissions are reset by the module HOT 2
- update-ca-trust check is not a thing on EL7 HOT 1
- PE v2017.2.3 RHEL 7 catalog compilation issue with ca.pp HOT 2
- Add proxy support to ca_cert::ca (remote_file) HOT 1
- Compilation fails when install_package set to false and ca_certs is not undef HOT 1
- syntax error init.pp line 40 HOT 4
- resource dependency cycles HOT 3
- Dependency cycle since v2.1.1 HOT 3
- Certificates fail to update after failed run because force_enable was needed HOT 7
- Unknown variable: 'ca_cert::params::ca_file_mode HOT 1
- Support 'content' param as well as 'source'
- hiera configuration HOT 2
- Bump metadata stdlib requirement HOT 1
- Removing CA certs should `update-ca-trust`
- Unit tests failing on SLES 11 HOT 1
- Puppet 8x support HOT 3
- Allow `Deferred` for the ca_text parameter HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-ca_cert.