Bug #18188

[deployment][provision] don't install passenger if the role does not require it

Added by Javier BĂ©rtoli 27 days ago. Updated 9 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The following roles require nginx installed

  • controller (with passenger, for API)
  • websocket
  • workbench (with passenger)
  • workbench2
  • webshell
  • keepweb
  • keepproxy

The provision script is installing both nginx+passenger in all these cases, using the same state for all the cases (same for the pillar)

We need to:

  • Review and modify the pillar nginx_passenger.sls pillar to make sure it can manage non-passenger installations (or add an extra, conditional, pillar for these cases)
  • Add an extra conditional to the script:
    • if the role does not require nginx, AND ** the role is not being applied to the same host as one requiring passenger, then, use the nginx state instead of nginx.passenger
    • otherwise, keep the nginx.passenger state

History

#1 Updated by Peter Amstutz 22 days ago

  • Target version changed from 2021-09-29 sprint to 2021-10-13 sprint

#2 Updated by Peter Amstutz 22 days ago

  • Target version changed from 2021-10-13 sprint to 2021-10-27 sprint

#3 Updated by Peter Amstutz 9 days ago

  • Target version changed from 2021-10-27 sprint to 2021-11-10 sprint

Also available in: Atom PDF