diff --git a/securedrop_salt/sd-app.sls b/securedrop_salt/sd-app.sls index 5dc443286..61a6db1d6 100644 --- a/securedrop_salt/sd-app.sls +++ b/securedrop_salt/sd-app.sls @@ -30,15 +30,14 @@ sd-app: - sd-client - sd-workstation - features: - {% if d.environment == "prod" %} - set: + - vm-config.SD_MIME_HANDLING: sd-app +{% if d.environment == "prod" %} - internal: 1 - {% endif %} +{% endif %} - enable: - service.paxctld - service.securedrop-mime-handling - - set: - - vm-config.SD_MIME_HANDLING: sd-app - require: - qvm: sd-small-{{ sdvars.distribution }}-template diff --git a/securedrop_salt/sd-viewer.sls b/securedrop_salt/sd-viewer.sls index 4f5ac0faa..f01815a99 100644 --- a/securedrop_salt/sd-viewer.sls +++ b/securedrop_salt/sd-viewer.sls @@ -38,15 +38,14 @@ sd-viewer: - sd-viewer-vm - sd-{{ sdvars.distribution }} - features: - {% if d.environment == "prod" %} - set: + - vm-config.SD_MIME_HANDLING: sd-viewer +{% if d.environment == "prod" %} - internal: 1 - {% endif %} +{% endif %} - enable: - service.paxctld - service.securedrop-mime-handling - - set: - - vm-config.SD_MIME_HANDLING: sd-viewer - require: - qvm: sd-large-{{ sdvars.distribution }}-template