Skip to content

Commit

Permalink
Merge pull request #1191 from rocodes/sd-log-not-internal
Browse files Browse the repository at this point in the history
Revert marking sd-log as internal
  • Loading branch information
legoktm authored Oct 10, 2024
2 parents 1bb836d + bdebcfd commit 7c91549
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion files/sdw-admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@ def sync_appmenus():
run_cmd(["qvm-sync-appmenus", "whonix-gateway-17"])
run_cmd(["qvm-shutdown", "whonix-gateway-17"])

# These are the two ones we show in prod VMs, so sync explicitly
# These are the ones we show in prod VMs, so sync explicitly
run_cmd(["qvm-sync-appmenus", "--regenerate-only", "sd-devices"])
run_cmd(["qvm-sync-appmenus", "--regenerate-only", "sd-whonix"])
run_cmd(["qvm-sync-appmenus", "--regenerate-only", "sd-log"])


def validate_config(path):
Expand Down
6 changes: 2 additions & 4 deletions securedrop_salt/sd-log.sls
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ sd-log:
- add:
- sd-workstation
- features:
{% if d.environment == "prod" %}
- set:
- internal: 1
{% endif %}
- enable:
- service.paxctld
- service.redis
- service.securedrop-logging-disabled
- service.securedrop-log-server
- set:
- menu-items: "org.gnome.Nautilus.desktop"
- require:
- qvm: sd-small-{{ sdvars.distribution }}-template

Expand Down
2 changes: 1 addition & 1 deletion tests/test_vms_exist.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_expected(self):

@unittest.skipIf(CONFIG["environment"] != "prod", "Skipping on non-prod system")
def test_internal(self):
not_internal = ["sd-proxy", "sd-whonix", "sd-devices"]
not_internal = ["sd-proxy", "sd-whonix", "sd-devices", "sd-log"]

for vm_name in SD_VMS:
if vm_name in not_internal:
Expand Down

0 comments on commit 7c91549

Please sign in to comment.