Import devserver userland-software unit from Nasqueron
[wynter-salt-workstation.git] / roles / workstation / userland-software / dev.sls
blobe89ced00b0e28c505f654bd5d0b3766236e9f135
1 #   -------------------------------------------------------------
2 #   Salt — Provision dev software
3 #   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 #   Project:        Nasqueron
5 #   Created:        2017-10-20
6 #   License:        Trivial work, not eligible to copyright
7 #   -------------------------------------------------------------
9 {% from "map.jinja" import packages, packages_prefixes with context %}
11 #   -------------------------------------------------------------
12 #   C/C++
13 #   -------------------------------------------------------------
15 devserver_software_dev_c:
16   pkg:
17     - installed
18     - pkgs:
19       - {{ packages.boost }}
20       - cmocka
21       - {{ packages.librabbitmq }}
23 #   -------------------------------------------------------------
24 #   Java
25 #   -------------------------------------------------------------
27 devserver_software_dev_java:
28   pkg:
29     - installed
30     - pkgs:
31       - openjdk8
32       - apache-ant
33       - maven
35 #   -------------------------------------------------------------
36 #   .Net languages
37 #   -------------------------------------------------------------
39 devserver_software_dev_dotnet:
40   pkg:
41     - installed
42     - pkgs:
43       - mono
45 #   -------------------------------------------------------------
46 #   Node
47 #   -------------------------------------------------------------
49 devserver_software_dev_node:
50   pkg:
51     - installed
52     - pkgs:
53       - {{ packages.node }}
54       - npm
56 devserver_node_packages:
57   npm.installed:
58     - pkgs:
59       - bower
60       - browserify
61       - gulp
62       - grunt
63       - jsonlint
64       - react-tools
65     - require:
66       - pkg: devserver_software_dev_node
68 #   -------------------------------------------------------------
69 #   PHP
70 #   -------------------------------------------------------------
72 devserver_software_dev_php:
73   pkg:
74     - installed
75     - pkgs:
76       - {{ packages.phpunit }}
78 #   -------------------------------------------------------------
79 #   Python
80 #   -------------------------------------------------------------
82 devserver_software_dev_python:
83   pkg:
84     - installed
85     - pkgs:
86       - {{ packages_prefixes.python2 }}nltk
87       - {{ packages_prefixes.python2 }}numpy
88       - {{ packages_prefixes.python2 }}virtualenv
90 #   -------------------------------------------------------------
91 #   Ruby
92 #   -------------------------------------------------------------
94 devserver_software_dev_ruby:
95   pkg:
96     - installed
97     - pkgs:
98       - {{ packages_prefixes.rubygem }}rubocop
100 #   -------------------------------------------------------------
101 #   Rust
102 #   -------------------------------------------------------------
104 devserver_software_dev_rust:
105   pkg:
106     - installed
107     - pkgs:
108       - rust
110 #   -------------------------------------------------------------
111 #   Shell
112 #   -------------------------------------------------------------
114 devserver_software_dev_shell:
115   pkg:
116     - installed
117     - pkgs:
118       - hs-ShellCheck
120 #   -------------------------------------------------------------
121 #   TCL
122 #   -------------------------------------------------------------
124 devserver_software_dev_tcl:
125   pkg:
126     - installed
127     - pkgs:
128       - rlwrap
129       - tcllib
130       - tclsoap
131       - {{ packages.tcltls }}
132       - {{ packages.tdom }}
134 #   -------------------------------------------------------------
135 #   Web development
136 #   -------------------------------------------------------------
138 devserver_software_dev_web:
139   pkg:
140     - installed
141     - pkgs:
142       - memcached
144 #   -------------------------------------------------------------
145 #   Tools like code review utilities
147 #   Arcanist is installed in the Phabricator states
148 #   -------------------------------------------------------------
150 devserver_software_dev_misctools:
151   pkg:
152     - installed
153     - pkgs:
154       - git-review