Closed c33s closed 4 months ago
How and where? Could you elaborate more on this?
it just would be simpler to use the acme::certificate
as you would not be required to add all the parameters again.
for example:
host.yaml
(hiera)
acme::default_profile: my_profile
acme::default_account: certmaster@example.com
acme::default_ca: letsencrypt_test
webserver.pp
:
...
include acme
acme::certificate { 'example.com'; }
#instead of
acme::certificate { 'example.com':
use_profile => 'my_profile',
use_account => 'certmaster@example.com',
ca => 'letsencrypt_test',
}
...
hope i described better what i mean. just let me know if you need more detail
Implemented in https://github.com/markt-de/puppet-acme/commit/2dbbddef40d4a9790b94e149273eebe32c9331cb. Currently untested... :)
would be handy to be able to define a default account