Skip to content

Commit

Permalink
TEMPORARY: custom deb pkg for securedrop-log
Browse files Browse the repository at this point in the history
Required for testing changes during review.
Must be dropped prior to merge!
  • Loading branch information
Conor Schaefer committed Mar 10, 2020
1 parent adc6dd4 commit c23da19
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions dom0/sd-logging-setup.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ include:

{% if "template" in grains['id'] or grains['id'] in ["securedrop-workstation-buster", "whonix-gw-15"] %}
# Install securedrop-log package in TemplateVMs only
# TEMPORARY: use local custom deb, to test new package
# without vmname hardcoded in config
install-securedrop-log-package:
pkg.installed:
- pkgs:
- securedrop-log
- require:
- sls: fpf-apt-test-repo
file.managed:
- name: /opt/securedrop-log.deb
- source: salt://sd/sd-workstation/securedrop-log_0.1.1+buster_all.deb
- mode: 644
cmd.run:
- name: apt install -y /opt/securedrop-log.deb
{% endif %}

{% if grains['id'] == "sd-log-buster-template" %}
Expand Down

0 comments on commit c23da19

Please sign in to comment.