move facts to machine subdirectory #236

Merged
Mic92 merged 1 commits from facts-default-path into main 2023-09-06 15:07:49 +00:00
Owner

This makes it easier to delete facts when removing machines

This makes it easier to delete facts when removing machines
Mic92 added 1 commit 2023-09-03 06:30:16 +00:00
move facts to machine subdirectory
All checks were successful
checks / test (pull_request) Successful in 26s
checks-impure / test (pull_request) Successful in 5s
701c0ee5f2
This makes it easier to delete facts when removing machines
Mic92 requested review from lassulus 2023-09-03 06:30:24 +00:00
Mic92 reviewed 2023-09-03 06:30:59 +00:00
@ -50,3 +50,3 @@
path to a fact which is generated by the generator
'';
default = "${config.clanCore.clanDir}/facts/${config.clanCore.machineName}/${fact.config._module.args.name}";
default = "${config.clanCore.clanDir}/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
Author
Owner

I am not so sure this should be configurable because than our CLI will have a hard time finding it.

I am not so sure this should be configurable because than our CLI will have a hard time finding it.
Mic92 changed title from WIP: move facts to machine subdirectory to move facts to machine subdirectory 2023-09-03 06:31:31 +00:00
Mic92 merged commit 81c755d710 into main 2023-09-06 15:07:49 +00:00
Mic92 deleted branch facts-default-path 2023-09-06 15:07:49 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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: clan/clan-core#236
No description provided.