uvsmtid / common-salt-states

A framework of interrelated states and pillars on top of Saltstack common to other projects.
Apache License 2.0
2 stars 0 forks source link

Add generic publisher configuration to publish selected repositories via different protocols #24

Open uvsmtid opened 8 years ago

uvsmtid commented 8 years ago

The idea is that many of the system_repositories (see #2) can be published on a web server.

As of now, there are different roles for that:

Instead of specialized case-by-case publishers, there can be a generic configuration which tells:

Consider both (double indirection):

It is architecturally (conceptually) clear to have (e.g. webserver) configuration and layout the same for each repository server. However, physical storage requirements make it difficult (without logical redirection via mounting, symlinking, etc.) to place large content on fast (expensive) default filesystem location where webserver expects it to be (when filesystem root / and /var and /etc directories are not split across different mounts by default).

NOTE: This is already implemented de facto in several roles: