Page MenuHomeDevCentral

Simplify webserver-content management
ClosedPublic

Authored by dereckson on Jun 13 2024, 00:10.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 02:31
Unknown Object (File)
Sun, Dec 22, 02:18
Unknown Object (File)
Wed, Dec 18, 15:46
Unknown Object (File)
Wed, Dec 18, 15:25
Unknown Object (File)
Mon, Dec 9, 17:26
Unknown Object (File)
Mon, Dec 9, 17:26
Unknown Object (File)
Mon, Dec 9, 17:26
Unknown Object (File)
Sun, Dec 1, 14:26
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 Errors
SeverityLocationCodeMessage
Error_modules/node.py:429E501flake8 E501
Unit
No Test Coverage
Branch
webserver-content-refresh
Build Status
Buildable 5275
Build 5556: arc lint + arc unit

Event Timeline

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

pillar/webserver/hervil/content.sls
1

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.