Skip to content

Allow specification of multiple classes.yml files#278

Open
janhorstmann wants to merge 1 commit intomainfrom
multiple_classes_files
Open

Allow specification of multiple classes.yml files#278
janhorstmann wants to merge 1 commit intomainfrom
multiple_classes_files

Conversation

@janhorstmann
Copy link
Copy Markdown
Contributor

Allow to use the --classes parameter multiple times and merge all existing files into a single document, which is then loaded as YAML. Add an additional default for a classes.yml in
/opt/configuration/environments/openstack/project-manager. With the condition that the aforementioned path does not exist, this preserves the current behaviour of a single default classes.yml in etc/.

This also changes the type of --endpoint to pathlib.Path for consistency.

Allow to use the `--classes` parameter multiple times and merge all
existing files into a single document, which is then loaded as YAML.
Add an additional default for a `classes.yml` in
`/opt/configuration/environments/openstack/project-manager`.
With the condition that the aforementioned path does not exist, this
preserves the current behaviour of a single default `classes.yml` in
`etc/`.

This also changes the type of `--endpoint` to `pathlib.Path` for
consistency.

Signed-off-by: Jan Horstmann <horstmann@osism.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant