Page MenuHomeDevCentral

Simplify webserver-content management
Needs ReviewPublic

Authored by dereckson on Thu, Jun 13, 00:10.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 18:49
Unknown Object (File)
Mon, Jun 24, 18:36
Unknown Object (File)
Sat, Jun 22, 17:57
Unknown Object (File)
Fri, Jun 21, 16:18
Unknown Object (File)
Fri, Jun 21, 10:01
Unknown Object (File)
Fri, Jun 21, 03:21
Unknown Object (File)
Fri, Jun 21, 03:02
Unknown Object (File)
Thu, Jun 20, 17:40
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.