-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certonly: Refactor manage_cron to ensure_cron with appropriate data type #161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Do we also want to ensure the renew file so it's only present when managing the cron?
@ekohl fair point 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I strongly disagree with the current implementation.
With puppet language, we describe the state we want. With manage_cron
to false
, i understand we do not want a cron management. And what is doing this setting ? It manage the cron to ensure it is absent.
IMO it should be clearer to rename manage_cron
to ensure_cron
with data type Enum['present','absent']
.
That's a very fair point and I do agree |
@craigwatson Thank you. |
Ööööhm so as this is a breaking change, do we release 4.0.0? |
Yes, the next release will be a major one. |
Pull Request (PR) description
Ensures cron is removed when
manage_cron
isfalse
.This Pull Request (PR) fixes the following issues
Fixes #139