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
|
# File 'manifests/packages.pp', line 1
class gogs::packages () {
if $::gogs::manage_packages {
case $::operatingsystem {
'RedHat': {
ensure_packages(['git', 'curl', 'wget', 'tar', 'initscripts'])
}
'OracleLinux': {
ensure_packages(['git', 'curl', 'wget', 'tar', 'initscripts'])
}
'CentOS': {
ensure_packages(['git', 'curl', 'wget', 'tar', 'initscripts'])
}
'Debian': {
ensure_packages(['git-core', 'curl', 'wget', 'tar'])
}
'Ubuntu': {
ensure_packages(['git-core', 'curl', 'wget', 'tar'])
}
default: {
fail("${::operatingsystem} not supported")
}
}
}
}
|