WIP: config: Rename .yaml to .yml #192

Closed
fyrchik wants to merge 1 commit from fyrchik:test-2261352199 into master
7 changed files with 8 additions and 8 deletions
Showing only changes of commit ca77ef11aa - Show all commits

View file

@ -861,7 +861,7 @@ with `NEOFS_IR_FEE_NAMED_CONTAINER_REGISTER`.
### Upgrading from v0.26.0
You can specify default section in storage engine configuration.
See [example](./config/example/node.yaml) for more details.
See [example](./config/example/node.yml) for more details.
## [0.26.0] - 2021-10-19 - Udo (우도, 牛島)

View file

@ -1,7 +1,7 @@
# Examples of correct configuration file structures
Here are files in all supported formats and with all possible configuration values
of FrostFS applications. See [node.yaml](node.yaml) for configuration notes.
of FrostFS applications. See [node.yml](node.yml) for configuration notes.
All parameters are correct, however, they are for informational purposes only.
It is not recommended transferring these configs for real application launches.
@ -10,11 +10,11 @@ It is not recommended transferring these configs for real application launches.
- Storage node
- JSON: `node.json`
- YAML: `node.yaml`
- YAML: `node.yml`
- Inner ring
- YAML: `ir.yaml`
- CLI
- YAML: `cli.yaml`
- YAML: `cli.yml`
### Multiple configs
@ -23,7 +23,7 @@ For example, you can use separate yaml file for each shard or each service (ppro
You must use `--config-dir` flag to process several configs:
```shell
$ ./bin/frotsfs-node --config ./config/example/node.yaml --config-dir ./dir/with/additional/configs
$ ./bin/frotsfs-node --config ./config/example/node.yml --config-dir ./dir/with/additional/configs
```
When the `--config-dir` flag set, the application:

6
debian/rules vendored
View file

@ -25,9 +25,9 @@ override_dh_auto_install:
bin/frostfs-cli completion zsh > debian/frostfs-cli/usr/share/zsh/vendor-completions/_frostfs-cli
install -T -m 0640 config/example/ir.yaml debian/frostfs-ir/etc/frostfs/ir/config.yml
install -T -m 0640 config/example/ir-control.yaml debian/frostfs-ir/etc/frostfs/ir/control.yml
install -T -m 0640 config/example/node.yaml debian/frostfs-storage/etc/frostfs/storage/config.yml
install -T -m 0640 config/example/node-control.yaml debian/frostfs-storage/etc/frostfs/storage/control.yml
install -T -m 0640 config/example/ir-control.yml debian/frostfs-ir/etc/frostfs/ir/control.yml
install -T -m 0640 config/example/node.yml debian/frostfs-storage/etc/frostfs/storage/config.yml
install -T -m 0640 config/example/node-control.yml debian/frostfs-storage/etc/frostfs/storage/control.yml
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start --name=frostfs-ir