Skip to content

Commit

Permalink
Fixes #205 installs libreoffice in svs disp
Browse files Browse the repository at this point in the history
Also restarts and enables paxctl service
  • Loading branch information
kushaldas authored and Conor Schaefer committed Jun 6, 2019
1 parent 7729205 commit c435ac6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dom0/sd-svs-disp-files.sls
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@ sd-svs-disp-install-mimetype-handler-package:
- securedrop-workstation-svs-disp
- require:
- sls: fpf-apt-test-repo

paxctld:
service.running:
- enable: True
- reload: True

sd-svs-disp-install-libreoffice:
pkg.installed:
- name: libreoffice
- retry:
attempts: 3
interval: 60
3 changes: 3 additions & 0 deletions tests/test_svs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def test_sd_client_package_installed(self):
pkg = "securedrop-workstation-svs-disp"
self.assertTrue(self._package_is_installed(pkg))

def test_sd_svs_libreoffice_installed(self):
self.assertTrue(self._package_is_installed("libreoffice"))


def load_tests(loader, tests, pattern):
suite = unittest.TestLoader().loadTestsFromTestCase(SD_SVS_Tests)
Expand Down

0 comments on commit c435ac6

Please sign in to comment.