Jörg Thalheim
69224e57fa
state-version: fix default of config.system.stateVersion
...
fixes https://git.clan.lol/clan/clan-core/issues/3360
2025-04-21 15:37:22 +00:00
RTUnreal
aad1c347d1
clanModules: fix shellcheck errors
2025-04-09 19:44:00 +02:00
a-kenji
b54346ce03
clanModules/state-version: Remove trailing newlines
...
The state version is now matched against certain regex rules.
We strip possible trailing newlines to improve compatibility.
2025-02-15 16:29:07 +07:00
Johannes Kirschbauer
0819562a0b
Inventory/modules: use explicit roles only
2024-10-02 10:01:44 +02:00
a-kenji
d26d7c4bba
clanModules/state-version: use default of vars
2024-09-18 14:07:30 +02:00
Johannes Kirschbauer
56b76f9827
Inventory: docs improvements
2024-09-16 22:52:40 +02:00
a-kenji
742a2c7d8d
clanModules/state-version: improve documentation
2024-09-14 20:33:40 +02:00
a-kenji
08ca0c842c
clanModules/state-version: improve documentation
2024-09-14 20:00:25 +02:00
a-kenji
342734073b
clanModules/state-version: initalize with currently set stateVersion
...
The `state-version` module will now initialize the `stateVersion` from
the currently set version.
This makes migrating to the `state-version` module seamless.
2024-09-14 19:25:20 +02:00
a-kenji
b477c85f82
clanModules/state-version: use echo -n
2024-09-13 13:54:21 +00:00
a-kenji
66c0517dfe
clanModules/state-version: init state-version
...
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.
If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
a-kenji
4d2ad709ad
vars: use correct paths for value accesses
...
Use correct paths for value accesses of vars under:
- `per-machine`
- `shared`
2024-09-11 19:02:43 +02:00