Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

PAAS-11511 yaml_include_dir #33

Merged
merged 1 commit into from
Sep 27, 2017
Merged

PAAS-11511 yaml_include_dir #33

merged 1 commit into from
Sep 27, 2017

Conversation

pbenas
Copy link
Contributor

@pbenas pbenas commented Sep 27, 2017

Using only !include is prone to introducing a new file and
forgetting to include it. Swithching to inclusion of a whole
directory, where applicable, does not have this drawback.
The actuall snippet of code was "borrowed" from smoker.

Using only !include is prone to introducing a new file and
forgetting to include it. Swithching to inclusion of a whole
directory, where applicable, does not have this drawback.

The actuall snippet of code was "borrowed" from smoker.
It would allow us to simplify sgmanager-config such as:

-include:
-    - !include "./int/default.yaml"
-    - !include "./int/freeipa.yaml"
-    - !include "./int/foreman.yaml"
+include: !include_dir "./int/"
@vonsch vonsch merged commit d8e5774 into gooddata:master Sep 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants