Page MenuHomeDevCentral

Simplify webserver-content management
ClosedPublic

Authored by dereckson on Jun 13 2024, 00:10.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 12:20
Unknown Object (File)
Sat, Nov 23, 10:08
Unknown Object (File)
Sat, Nov 23, 06:05
Unknown Object (File)
Fri, Nov 22, 11:48
Unknown Object (File)
Wed, Nov 20, 19:53
Unknown Object (File)
Wed, Nov 20, 19:24
Unknown Object (File)
Sun, Nov 17, 16:27
Unknown Object (File)
Mon, Nov 11, 17:50
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.