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

View file

@ -861,7 +861,7 @@ with `NEOFS_IR_FEE_NAMED_CONTAINER_REGISTER`.
### Upgrading from v0.26.0 ### Upgrading from v0.26.0
You can specify default section in storage engine configuration. 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 (우도, 牛島) ## [0.26.0] - 2021-10-19 - Udo (우도, 牛島)

View file

@ -1,7 +1,7 @@
# Examples of correct configuration file structures # Examples of correct configuration file structures
Here are files in all supported formats and with all possible configuration values 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. All parameters are correct, however, they are for informational purposes only.
It is not recommended transferring these configs for real application launches. 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 - Storage node
- JSON: `node.json` - JSON: `node.json`
- YAML: `node.yaml` - YAML: `node.yml`
- Inner ring - Inner ring
- YAML: `ir.yaml` - YAML: `ir.yaml`
- CLI - CLI
- YAML: `cli.yaml` - YAML: `cli.yml`
### Multiple configs ### 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: You must use `--config-dir` flag to process several configs:
```shell ```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: 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 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.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/ir-control.yml 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.yml 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/node-control.yml debian/frostfs-storage/etc/frostfs/storage/control.yml
override_dh_installsystemd: override_dh_installsystemd:
dh_installsystemd --no-enable --no-start --name=frostfs-ir dh_installsystemd --no-enable --no-start --name=frostfs-ir