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: Allow ensure command to take a config name to ensure #22

Closed
Kellel opened this issue Jun 19, 2017 · 3 comments
Closed

Feature: Allow ensure command to take a config name to ensure #22

Kellel opened this issue Jun 19, 2017 · 3 comments

Comments

@Kellel
Copy link

Kellel commented Jun 19, 2017

user@box:~$ ls /etc/certmgr.d/
certmgr-foo.json certmgr-bar.json
user@box:~$ certmgr ensure foo
@Kellel
Copy link
Author

Kellel commented Jun 19, 2017

I would like to be able to ensure that the certs are setup for my service foo even if the config for the bar service is somehow broken

@ferringb
Copy link
Contributor

You can abuse -d to pass the exact file you want to work on.

ferringb pushed a commit to ferringb/certmgr that referenced this issue Apr 25, 2018
It's not well known (see cloudflare#22), but you can either pass a directory or file
via certmgr {ensure,check,clean} -d /path/to/that/file .  This allows enforcing
just the spec you care about.

Thus update the help to clarify that you can pass a file if desired.
ferringb pushed a commit to ferringb/certmgr that referenced this issue Apr 25, 2018
It's not well known (see cloudflare#22), but you can either pass a directory or file
via certmgr {ensure,check,clean} -d /path/to/that/file .  This allows enforcing
just the spec you care about.

Thus update the help to clarify that you can pass a file if desired.
ferringb pushed a commit to ferringb/certmgr that referenced this issue Apr 25, 2018
It's not well known (see cloudflare#22), but you can either pass a directory or file
via certmgr {ensure,check,clean} -d /path/to/that/file .  This allows enforcing
just the spec you care about.

Thus update the help to clarify that you can pass a file if desired.
kisom pushed a commit that referenced this issue Apr 26, 2018
It's not well known (see #22), but you can either pass a directory or file
via certmgr {ensure,check,clean} -d /path/to/that/file .  This allows enforcing
just the spec you care about.

Thus update the help to clarify that you can pass a file if desired.
@ferringb
Copy link
Contributor

closing this; documentation was updated to detail that you can (ab)use -d for this.

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

No branches or pull requests

2 participants