-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sls
78 lines (65 loc) · 1.2 KB
/
init.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
curl:
pkg.installed
git:
pkg.installed
mercurial:
pkg.installed
make:
pkg.installed
binutils:
pkg.installed
bison:
pkg.installed
gcc:
pkg.installed
screen:
pkg.installed
golang-ppa:
pkgrepo.managed:
- ppa: duh/golang
golang:
pkg.latest:
- name: golang
- refresh: True
/etc/pam.d/common-session:
file.managed:
- source:
- salt://imgd/system/common-session
/etc/security/limits.conf:
file.managed:
- source:
- salt://imgd/system/limits.conf
/etc/sysctl.conf:
file.managed:
- source:
- salt://imgd/system/sysctl.conf
/etc/init/imgd.conf:
file.managed:
- source:
- salt://imgd/system/imgd.conf
minotar:
user.present:
- fullname: Minotar
- shell: /bin/bash
- home: /home/minotar
- groups:
- users
/home/minotar/.bashrc:
file.managed:
- source: salt://imgd/home/bashrc
- user: minotar
- group: users
/home/minotar/imgd:
file.managed:
- source: salt://imgd/deploy/imgd
- user: minotar
- group: users
- mode: 744
/home/minotar/config.json:
file.managed:
- source: salt://imgd/deploy/config.json
- user: minotar
- group: users
- mode: 744
service imgd restart:
cmd.run