cgravier / selfsigned_certificate

Cookbook for selfsigned_certificate using openssl.
Other
5 stars 4 forks source link

Having LWRP to create self-signed certificates #3

Open nitinmohan87 opened 10 years ago

nitinmohan87 commented 10 years ago

This is a nice little cookbook to generate self-signed certificates. I think it would make more sense to create the self-signed certs as an LWRP (:create and :delete actions) instead of a recipe so that the users can have the flexibility to create certificates during compile phase of Chef instead of execute phase. Also with an LWRP idempotence can be easily achieved.

Since now this is achieved as a recipe I can only create certs in execute phase.