mirror of
https://github.com/unman/shaker.git
synced 2024-12-12 01:04:26 -05:00
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
|
#
|
|
|
|
{% if grains['nodename'] != 'dom0' %}
|
|
|
|
{% if salt['qvm.exists']('cacher') %}
|
|
|
|
/etc/apt/sources.list:
|
|
file.replace:
|
|
- names:
|
|
- /etc/apt/sources.list
|
|
- /etc/apt/sources.list.d/qubes-r4.list
|
|
- pattern: 'https://'
|
|
- repl: 'http://HTTPS///'
|
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
|
|
|
{% endif %}
|
|
|
|
update:
|
|
pkg.uptodate:
|
|
- refresh: True
|
|
|
|
installed:
|
|
pkg.installed:
|
|
- pkgs:
|
|
- qubes-core-agent-networking
|
|
- qubes-app-shutdown-idle
|
|
- qubes-gpg-split
|
|
- mb2md
|
|
- mutt
|
|
- notmuch
|
|
- notmuch-mutt
|
|
- offlineimap3
|
|
- openssh-client
|
|
- rsync
|
|
- w3m
|
|
- zenity
|
|
- skip_suggestions: True
|
|
- install_recommends: False
|
|
|
|
change_timeout:
|
|
file.replace:
|
|
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
|
- pattern: '15 * 60'
|
|
- repl: '3 * 60'
|
|
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
|
|
|
default_muttrc:
|
|
file.managed:
|
|
- name: /etc/skel/.muttrc
|
|
- source: salt://mutt/muttrc
|
|
- user: user
|
|
- group: user
|
|
|
|
helper_script:
|
|
file.managed:
|
|
- name: /etc/skel/setup_mutt.sh
|
|
- source: salt://mutt/setup_mutt.sh
|
|
- user: user
|
|
- group: user
|
|
- mode: 744
|
|
|
|
{% endif %}
|