Comments (7)
It looks we didn't release it but what do you think about ensure_cron
attribute ?
https://github.com/voxpupuli/puppet-letsencrypt/blob/master/manifests/certonly.pp#L51
from puppet-letsencrypt.
That's only half the puzzle. I'm using the pre-release version from git but it will still try to exec { "letsencrypt certonly ${title}":
, which is no good if the domain is gone.
Perhaps we can add a normal ensure
attribute which just takes 'absent/present'? That way we have a neat way both to clean up old certs, and to clean up cron jobs and scripts if enabled.
from puppet-letsencrypt.
You are right.
Can you propose a PR for this enhancement ?
from puppet-letsencrypt.
Sure. I'll try to fit it in somewhere this week. But I think the older manage_cron
attribute may then be more aptly named again rather than the ensure_cron
from 3.0.1-rc1. And as an added bonus if we change it back, it would still be backward compatible with puppet code using the 3.0.0 release.
from puppet-letsencrypt.
Yes, it looks possible.
from puppet-letsencrypt.
Created #177 to see if you agree on the general changes made. Still needs testing and need to think if there's a nicer way to do the exec{}
and file{}
rather than wrapping them in an if/else.
from puppet-letsencrypt.
Fixed by PR #17
from puppet-letsencrypt.
Related Issues (20)
- update metadata.json
- typo in example HOT 2
- certbot has a python problem on centos 7 HOT 8
- Cut new version with puppet-epel dependency? HOT 1
- RHEL8 support for dns-rfc2136
- Logrotate for the letsencrypt logs HOT 1
- certbot-auto no longer works on any OS HOT 2
- Adding domains to existing certificate leads to duplicate certs/renewal configs with pattern <cert>-0001,2 etc HOT 3
- Raise compatible puppet version from <7.0 to <8.0 HOT 2
- Drop VCS install method support
- Recent update causes problems with the nginx plugin HOT 1
- CONFIGDIR/renwal/domain.conf not updated HOT 2
- Manage Cron parameter on letsencrypt::certonly will not cleanup resources. HOT 2
- feature request: cron_after_command
- `register-unsafely-without-email` config key is kept when turning `unsafe_registration` back to `false`
- Could not find class ::epel when declaring Letsencrypt class HOT 1
- New release please? HOT 3
- letsencrypt-domain-validation case sensitivity
- Documentation/examples for certonly `suppress_cron_output` not updated after removal of parameter HOT 1
- Circular dependency caused by nginx plugin HOT 2
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-letsencrypt.