-
-
Notifications
You must be signed in to change notification settings - Fork 396
/
goss_base.yaml
89 lines (88 loc) · 1.73 KB
/
goss_base.yaml
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
79
80
81
82
83
84
85
86
87
88
89
package:
curl:
installed: true
docker:
installed: false
docker-compose:
installed: false
git:
installed: true
git-lfs:
installed: false
jq:
installed: true
lsb_release:
installed: false
make:
installed: true
pwsh:
installed: false
python3:
installed: true
rsync:
installed: true
ssh:
installed: false
sudo:
installed: true
tar:
installed: true
unzip:
installed: true
wget:
installed: true
yq:
installed: false
# Ubuntu Focal is the only one currently that doesnt have an official upstream skopeo/buildah/podman
{{ if not (eq .Vars.oscodename "focal") }}
skopeo:
installed: true
buildah:
installed: true
podman:
installed: true
{{ end }}
file:
/usr/bin/gh:
exists: true
/usr/bin/nodejs:
exists: true
/usr/sbin/gosu:
exists: true
/usr/bin/dumb-init:
exists: true
/etc/init.d/docker:
exists: true
owner: root
group: root
filetype: file
contents:
- /^\s*# ulimit -Hn/
/etc/sudoers:
exists: true
owner: root
group: root
filetype: file
contents:
- '/%sudo ALL=\(ALL\) NOPASSWD: ALL/'
- '/Defaults env_keep = "HTTP_PROXY HTTPS_PROXY NO_PROXY FTP_PROXY http_proxy https_proxy no_proxy ftp_proxy"/'
/etc/locale.gen:
exists: true
owner: root
group: root
filetype: file
contents:
- '/^en_US.UTF-8 UTF-8/'
user:
runner:
exists: true
uid: 1001
gid: 121
groups:
- runner
- sudo
- docker
group:
runner:
exists: true
gid: 121