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 the configuration mechanism #10

Open
PeterJCLaw opened this issue Apr 15, 2022 · 0 comments
Open

Improve the configuration mechanism #10

PeterJCLaw opened this issue Apr 15, 2022 · 0 comments

Comments

@PeterJCLaw
Copy link
Owner

Currently configuration for the various instances is derived from the pi_macs file -- that's a custom format which gets read by a python script to create a hiera config used by puppet. This isn't great and is very non-obvious. The hiera config -> puppet part isn't bad on its own, but as a whole it's not great.

Alternatives include:

  • some better format, still in this repo, still generating the hiera config
  • move the config externally so that this repo isn't coupled to events

The latter is complicated by the current coupling of the url being shown to the hostname on the machine (which has operational benefits), though we can probably come up with an alternative if we want to go this route. Somehow hosting this information in the compstate might be a reasonable approach, on the grounds that the compstate is already event-specific, however this information doesn't feel very compstate-y.

There might be other approaches here too -- more thought is needed.

@PeterJCLaw PeterJCLaw changed the title Improve the configuration mechanism. Improve the configuration mechanism Apr 15, 2022
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

No branches or pull requests

1 participant