Commit a4acbc8
committed
(#396) Add support for adding hooks after cert creation
certbot supports different hooks. They are executed during the
certificate renewal. Those hooks are configured per-certificate.
Previously you had to specify all hooks during the initial certificate
creation. If a hook was added afterwards in Puppet, it was written to
disk as a shell script, but it wasn't added to the configuration file.
The config file wasn't managed with openvox at all, it was created by
certbot. certbot has no cli options to update an existing config file.
Because of that, we added an ini_setting resource to ensure that all
hooks are added to the config file.
Fixes #3961 parent a42ea99 commit a4acbc8
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
267 | 271 | | |
268 | 272 | | |
269 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
270 | 290 | | |
271 | 291 | | |
272 | 292 | | |
273 | 293 | | |
274 | 294 | | |
275 | 295 | | |
276 | 296 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | 297 | | |
282 | 298 | | |
283 | 299 | | |
| |||
0 commit comments