sous-chefs / certificate

Development repository for the certificate cookbook
https://supermarket.chef.io/cookbooks/certificate
73 stars 43 forks source link

implement :create_subfolders attribute #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

This pull requests creates an :create_subfolders attribute for the lwrp (defaults to true), that skips the creation and usage of the private and certs subdirectories.

This flag is useful in scenarios where you want to use the cookbook to deploy certificates to non /etc/ssl directories or different services. PostgreSQL e.g. expects the certificates as server.key and server.crt files in its data-dir.

As this flag defaults to true, it shouldn't break any existing configuration.

atomic-penguin commented 11 years ago

Please add documentation. Otherwise it is good to merge.