mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-26 07:59:37 -05:00
275178fa7c
The target of qubes.ConnectTCP has 'socat' because it is a dependency of qubes-core-agent-networking. In case the target has not networking packages, this needs to be taken care by the formula that creates the target, not from the client itself.
70 lines
1.5 KiB
Plaintext
70 lines
1.5 KiB
Plaintext
{#
|
|
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- sys-bitcoin.install-client
|
|
- dev.home-cleanup
|
|
- dev.install-terminal
|
|
- dotfiles.copy-x11
|
|
- dotfiles.copy-sh
|
|
- dotfiles.copy-git
|
|
- sys-pgp.install-client
|
|
- sys-git.install-client
|
|
|
|
"{{ slsdotpath }}-updated":
|
|
pkg.uptodate:
|
|
- refresh: True
|
|
|
|
"{{ slsdotpath }}-installed":
|
|
pkg.installed:
|
|
- refresh: True
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- pkgs:
|
|
- socat
|
|
- python3-aiohttp
|
|
- python3-aiorpcx
|
|
- python3-attr
|
|
- python3-plyvel
|
|
|
|
"{{ slsdotpath }}-rpc":
|
|
file.recurse:
|
|
- source: salt://{{ slsdotpath }}/files/server/rpc
|
|
- name: /etc/qubes-rpc/
|
|
- dir_mode: '0755'
|
|
- file_mode: '0755'
|
|
- user: root
|
|
- group: root
|
|
- makedirs: True
|
|
|
|
"{{ slsdotpath }}-bin-dir":
|
|
file.recurse:
|
|
- source: salt://{{ slsdotpath }}/files/server/bin
|
|
- name: /usr/bin/
|
|
- dir_mode: '0755'
|
|
- file_mode: '0755'
|
|
- user: root
|
|
- group: root
|
|
- makedirs: True
|
|
|
|
"{{ slsdotpath }}-system-systemd-dir":
|
|
file.recurse:
|
|
- source: salt://{{ slsdotpath }}/files/server/systemd/
|
|
- name: /usr/lib/systemd/system/
|
|
- dir_mode: '0755'
|
|
- file_mode: '0644'
|
|
- user: root
|
|
- group: root
|
|
- makedirs: True
|
|
|
|
"{{ slsdotpath }}-system-service-enable-electrumx":
|
|
service.enabled:
|
|
- name: electrumx
|
|
|
|
{% endif -%}
|