Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feature Request ] default_account and default_profile #38

Closed
c33s opened this issue Jan 10, 2022 · 3 comments
Closed

[ Feature Request ] default_account and default_profile #38

c33s opened this issue Jan 10, 2022 · 3 comments

Comments

@c33s
Copy link

c33s commented Jan 10, 2022

would be handy to be able to define a default account

@fraenki
Copy link
Member

fraenki commented Jan 10, 2022

How and where? Could you elaborate more on this?

@c33s c33s changed the title [ Feature Request ] default_account [ Feature Request ] default_account and default_profile Jan 11, 2022
@c33s
Copy link
Author

c33s commented Jan 11, 2022

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

@fraenki
Copy link
Member

fraenki commented Apr 16, 2024

Implemented in 2dbbdde. Currently untested... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants