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.
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.