Page MenuHomeDevCentral

misc.sls
No OneTemporary

misc.sls

# -------------------------------------------------------------
# Salt — Provision dev software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-10-20
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs, packages, packages_prefixes with context %}
devserver_software_misc_vcs:
pkg.installed:
- pkgs:
# VCS
- cvs
- fossil
- subversion
# Extra features
- gh
- git-filter-repo
devserver_software_misc_media:
pkg.installed:
- pkgs:
- opencore-amr
- opus
- speex
- speexdsp
- x265
devserver_software_misc_text_processing:
pkg.installed:
- pkgs:
- antiword
- odt2txt
- texlive-full
devserver_software_misc_security:
pkg.installed:
- pkgs:
- aescrypt
- pwgen
- vault
devserver_software_misc_tools:
pkg.installed:
- pkgs:
- {{ packages["7zip"] }}
- {{ packages_prefixes.python3 }}awscli
- bat
- boxes
- cursive
- fd-find
- fusefs-s3fs
- fzf
- gist
- hexyl
- primegen
- rsync
- unix2dos
{% if grains['os'] == 'FreeBSD' %}
- gawk
{% endif %}
{% if grains['os'] == 'FreeBSD' %}
devserver_software_misc_ports:
pkg.installed:
- pkgs:
- ccache
- modules2tuple
- portmaster
- portshaker
- porttools
- portsearch
portsearch_database:
cmd.run:
- name: portsearch -u
- creates: /var/db/portsearch
- require:
- pkg: devserver_software_misc_ports
/var/cache/ccache:
file.directory
/var/cache/ccache/ccache.conf:
file.managed:
- source: salt://roles/devserver/userland-software/files/ccache.conf
{{ dirs.bin }}/ccache-metrics:
file.managed:
- source: salt://roles/devserver/userland-software/files/ccache-metrics.py
- mode: 755
/etc/make.conf:
file.managed:
- source: salt://roles/devserver/userland-software/files/make.conf
freebsd_kernel_modules:
pkg.installed:
- pkgs:
- pefs-kmod
freebsd_kernel_modules_enable:
module.wait:
- name: kmod.load
- mod: pefs
- persist: True
- watch:
- pkg: freebsd_kernel_modules
/boot/loader.conf.d/pefs.conf:
file.managed:
- source: salt://roles/devserver/userland-software/files/pefs.conf
{% endif %}
devserver_software_misc_p2p:
pkg.installed:
- pkgs:
- transmission-daemon
- transmission-web
devserver_software_misc_gadgets:
pkg.installed:
- pkgs:
- asciiquarium
- binclock
- ditaa
- epte
devserver_software_misc_games:
pkg.installed:
- pkgs:
- bsdgames
- textmaze
{% if grains['os'] == 'FreeBSD' %}
- roll
{% endif %}
devserver_software_misc_network:
pkg.installed:
- pkgs:
- getdns
- iftop
- mtr
- trippy
{% if grains['os_family'] == 'Debian' %}
- sockstat
{% endif %}
# -------------------------------------------------------------
# Custom simple binaries
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ dirs.bin }}/shell:
file.managed:
- source: salt://roles/devserver/userland-software/files/shell.py
- mode: 755
{{ dirs.bin }}/url:
file.managed:
- source: salt://roles/devserver/userland-software/files/url.py
- mode: 755
# -------------------------------------------------------------
# Configuration files
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{ dirs.etc }}/url.yml:
file.managed:
- source: salt://roles/devserver/userland-software/files/url.yml
- mode: 644
{% if grains['os'] == 'FreeBSD' %}
/etc/rc.conf.d/transmission:
file.managed:
- source: salt://roles/devserver/userland-software/files/transmission.rc
- mode: 644
{% endif %}

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 12, 05:23 (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3055790
Default Alt Text
misc.sls (3 KB)

Event Timeline