Marker .cdist is broken #222

Closed
opened 2021-11-20 15:21:49 +00:00 by ungleich-gitea · 2 comments

Created by: telmich

Creating a file like /home/ungleich/.cdist does not work, as it contains the current cdist marker.

Proposed solution:

- use random marker that starts with .cdist-
- has fixed number of following characters (like 6 or 10)
- write marker name to $__global/marker
- export $__global/marker path as $__marker
- document variable in cdist-reference
    - also document the pattern how the marker is built
      so that other people may be able to dig into the structure 
      from outside
*Created by: telmich* Creating a file like /home/ungleich/.cdist does not work, as it contains the current cdist marker. Proposed solution: ``` - use random marker that starts with .cdist- - has fixed number of following characters (like 6 or 10) - write marker name to $__global/marker - export $__global/marker path as $__marker - document variable in cdist-reference - also document the pattern how the marker is built so that other people may be able to dig into the structure from outside ```
ungleich-gitea added the
cleanup
bugfix
documentation
Stale
labels 2021-11-20 15:21:49 +00:00
Author
Owner

closed

closed
Author
Owner

Created by: telmich

Working on this at the moment -- @asteven - will submit PR today, maybe you can review it.

Background: I need to deploy hosts that can run cdist (as a server) with cloning local git repo to ~cdist/.cdist/

*Created by: telmich* Working on this at the moment -- @asteven - will submit PR today, maybe you can review it. Background: I need to deploy hosts that can run cdist (as a server) with cloning local git repo to ~cdist/.cdist/
Sign in to join this conversation.
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: ungleich-public/cdist#222
No description provided.