qusal/salt/sys-electrs/install-source.sls
Ben Grande 275178fa7c fix: add missing dependency for qvm-connect-tcp
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.
2024-02-17 12:03:45 +01:00

62 lines
1.3 KiB
Plaintext

{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
Source: https://github.com/romanz/electrs/blob/master/doc/install.md
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- dev.home-cleanup
- dev.install-terminal
- dotfiles.copy-x11
- dotfiles.copy-sh
- dotfiles.copy-git
- sys-bitcoin.install-client
- sys-git.install-client
- sys-pgp.install-client
"{{ slsdotpath }}-source-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-source-installed":
pkg.installed:
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- socat
- librocksdb-dev
- man-db
"{{ slsdotpath }}-rpc":
file.recurse:
- source: salt://{{ slsdotpath }}/files/server/rpc/
- name: /etc/qubes-rpc/
- dir_mode: '0755'
- file_mode: '0755'
- user: root
- group: root
"{{ 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
"{{ slsdotpath }}-system-service-enable-bitcoin-p2p-qrexec":
service.enabled:
- name: bitcoin-p2p-qrexec.socket
"{{ slsdotpath }}-system-service-enable-electrs":
service.enabled:
- name: electrs
{% endif -%}