Last active
October 28, 2016 21:23
-
-
Save marmarek/29f9a4a1f3a7a457cf2b449ab0b0e2f4 to your computer and use it in GitHub Desktop.
Martus salt configuration for Qubes OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include: | |
- qvm.template-debian-8 | |
- qvm.sys-whonix | |
debian-8-martus: | |
qvm.clone: | |
- source: debian-8 | |
- label: black | |
martus: | |
qvm.vm: | |
- present: | |
- template: debian-8-martus | |
- label: blue | |
- prefs: | |
- netvm: sys-whonix | |
- require: | |
- qvm: sys-whonix | |
- qvm: debian-8-martus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base: | |
dom0: | |
- martus.dom0 | |
debian-8-martus: | |
- martus.template | |
martus: | |
- martus.vm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backports: | |
pkgrepo.managed: | |
- humanname: Debian backports | |
- name: deb http://ftp.debian.org/debian jessie-backports main | |
- dist: jessie-backports | |
- file: /etc/apt/sources.list.d/backports.list | |
- refresh_db: true | |
openjfx: | |
pkg.installed: | |
- fromrepo: jessie-backports | |
- require: | |
- pkgrepo: backports | |
unzip: | |
pkg.installed: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/user/Downloads/Martus-5.1.1.zip: | |
file.managed: | |
- source: https://martus.org/installers/Martus-5.1.1.zip | |
- source_hash: sha1=da13a7ed03788a9a4abf5988ab64370644fdfa4c | |
- user: user | |
- group: user | |
/home/user/Martus-5.1.1: | |
cmd.run: | |
- name: unzip /home/user/Downloads/Martus-5.1.1.zip | |
- cwd: /home/user | |
- user: user | |
- creates: /home/user/MartusClient-5.1.1 | |
- require: | |
- file: /home/user/Downloads/Martus-5.1.1.zip | |
/home/user/.config/autostart/martus.desktop: | |
file.managed: | |
- user: user | |
- group: user | |
- makedirs: true | |
- mode: 0644 | |
- contents: | | |
[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Martus | |
Path=/home/user/MartusClient-5.1.1 | |
Exec=java -jar martus.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why is Martus being deployed to /home in the appvm instead of to like /opt in the templatevm?