Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--- After each execution of the `genin build` command, the cluster state will be generated. By default, the state will be stored in the `.geninstate` directory. For all cluster changes, Genin is based on the "latest" state and after updating it overwrites it. ❗ Loss of `.geninstate` directory or `latest` state, `genin build` command recreates configuration with new state ❗ `genin build --recreate` recreates the configuration with a new state --- The `--fd-as-zone` option takes the value 1..255, which indicates at what level nesting `hosts` contains the required name `zone` For example, when configuring: ```yaml hosts: - name: region hosts: - name: datacenter hosts: - name: host ``` Team: ```shell genin build --fd-as-zone=2 ``` We get: ```yaml hosts: role: zone: datacenter config: ```
- Loading branch information