Page MenuHomeDevCentral

Simplify webserver-content management
ClosedPublic

Authored by dereckson on Jun 13 2024, 00:10.
Tags
None
Referenced Files
F3752146: D3334.id8622.diff
Sun, Nov 17, 16:27
Unknown Object (File)
Mon, Nov 11, 17:50
Unknown Object (File)
Mon, Nov 11, 03:44
Unknown Object (File)
Sat, Nov 9, 18:28
Unknown Object (File)
Fri, Nov 8, 16:23
Unknown Object (File)
Fri, Nov 1, 05:37
Unknown Object (File)
Thu, Oct 31, 19:03
Unknown Object (File)
Thu, Oct 31, 04:44
Subscribers
None

Details

Summary

With Salt Tower, we can define a different content for a pillar value
per node.

That allows to avoid any need to filter by role or to maintain an index.

The pillar contains the list of roles by node, and Salt will only
provision those.

Furthermore, this fixes issues where:

  • pillar variables defined only for a specific role was needed
  • it tries to fetch Vault secrets the node doesn't have access to
Test Plan

Deploy to devserver, shellserver, webserver-alkane

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This change touches Wolfplex files. As such, administrative approval is needed from Wolfplex technical contact.

pillar/webserver/hervil/content.sls
1 ↗(On Diff #8574)

This file is only needed if we merge this after D3326.

If not, move that file to D3326.

Rebased, Hervil config moved to D3343.

This revision is now accepted and ready to land.Jul 2 2024, 19:10
This revision was landed with ongoing or failed builds.Jul 2 2024, 19:12
This revision was automatically updated to reflect the committed changes.