Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve configuration management for multiple servers #283

Closed
wants to merge 3 commits into from

Conversation

reck1610
Copy link
Contributor

@reck1610 reck1610 commented Feb 5, 2023

This allows you to split up your configuration and reuse parts on multiple servers.

This changes the example configuration name as proposed in #275

closes #282, closes #275

Allows to use multiple JSON config files that will be merged into a single configuration
Copy link
Collaborator

@werewolfboy13 werewolfboy13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need vetting with multiple live servers before it is approved. Also need an answer on the code comment.


config.json
config.*.json
!config.example.json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this excluded?

Copy link
Contributor Author

@reck1610 reck1610 Feb 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config.json and config.*.json exclude customized configurations.

config.example.json is the auto generated configuration example (formerly config.json) and explicitly included because it matches config.*.json.

@werewolfboy13 werewolfboy13 added the Testing Required This requires testing before approval. label Feb 8, 2023
@steelskillet
Copy link
Contributor

steelskillet commented Nov 11, 2023

Rather than defining what configs to layer when you run squadjs. I think it would be better to have an include directive (eg !include "path to other config"). This would work better for automation systems that use squadjs and would keep the ordering and what other configs are required for a particular configuration inside that configuration file.

@werewolfboy13
Copy link
Collaborator

Review stalled moving this over to #320

CLOSING DUE TO LACK OF RESPONSE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing Required This requires testing before approval.
Projects
None yet
3 participants