[GH-ISSUE #26] Remove/refactor command line helpers #19

Open
opened 2026-02-26 03:33:30 +03:00 by kerem · 0 comments
Owner

Originally created by @laurivosandi on GitHub (Jan 26, 2017).
Original GitHub issue: https://github.com/laurivosandi/certidude/issues/26

In the beginning we tried to configure services with certidude setup service-blah, this approach failed because bits and pieces of the information has to be persistent for example for certificate renewal and in some cases request has to be initiated later (when interface goes up or machine is joined to domain).

Instead now we're using /etc/certidude/client.conf and /etc/certidude/services.conf configuration files. This makes it more manageable also with configuration management software.

In fact in the future we should migrate to /etc/certidude/client.d/blah.conf and /etc/certidude/service.d/blah.conf schema. This makes it easier to reconfigure services with a simple copypastable command instead of having to update fragments of an .ini style file.

So - certidude setup service-blah command either should be removed completely or refactored to generate /etc/certidude/serivced/blah.conf files

Originally created by @laurivosandi on GitHub (Jan 26, 2017). Original GitHub issue: https://github.com/laurivosandi/certidude/issues/26 In the beginning we tried to configure services with ``certidude setup service-blah``, this approach failed because bits and pieces of the information has to be persistent for example for certificate renewal and in some cases request has to be initiated later (when interface goes up or machine is joined to domain). Instead now we're using ``/etc/certidude/client.conf`` and ``/etc/certidude/services.conf`` configuration files. This makes it more manageable also with configuration management software. In fact in the future we should migrate to ``/etc/certidude/client.d/blah.conf`` and ``/etc/certidude/service.d/blah.conf`` schema. This makes it easier to reconfigure services with a simple copypastable command instead of having to update fragments of an .ini style file. So - ``certidude setup service-blah`` command either should be removed completely or refactored to generate ``/etc/certidude/serivced/blah.conf`` files
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certidude-laurivosandi#19
No description provided.