GithubHelp home page GithubHelp logo

Comments (7)

Dan33l avatar Dan33l commented on July 19, 2024

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.

cFire avatar cFire commented on July 19, 2024

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.

Dan33l avatar Dan33l commented on July 19, 2024

You are right.

Can you propose a PR for this enhancement ?

from puppet-letsencrypt.

cFire avatar cFire commented on July 19, 2024

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.

Dan33l avatar Dan33l commented on July 19, 2024

Yes, it looks possible.

from puppet-letsencrypt.

cFire avatar cFire commented on July 19, 2024

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.

Dan33l avatar Dan33l commented on July 19, 2024

Fixed by PR #17

from puppet-letsencrypt.

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.