Commit Graph

8 Commits

Author SHA1 Message Date
Johannes Kirschbauer
695574988e Revert "Merge pull request 'Make state-version generation an clan option' (#4056) from state-version-option into main"
This reverts commit a101ff1f11, reversing
changes made to f12b62d8b4.
2025-07-01 18:15:11 +02:00
pinpox
77bc1c75dd Remove state-version module and service 2025-06-30 12:54:29 +02: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
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