|
3 | 3 | set -ex
|
4 | 4 |
|
5 | 5 | export DEBIAN_FRONTEND="noninteractive"
|
6 |
| -apt-get -y update |
7 | 6 |
|
8 | 7 | apt-get -y update
|
9 |
| -apt-get -y install apt-transport-https curl |
10 |
| -sh -c "echo 'deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./' >> /etc/apt/sources.list" |
11 |
| -curl -s -o /etc/apt/trusted.gpg.d/naemon.asc "https://build.opensuse.org/projects/home:naemon/signing_keys/download?kind=gpg" |
12 |
| -apt-get -y update |
13 |
| - |
14 | 8 | apt-get -y install \
|
15 |
| - debhelper \ |
16 |
| - lsb-release \ |
| 9 | + apache2 \ |
| 10 | + apache2-utils \ |
| 11 | + apt-transport-https \ |
17 | 12 | chrpath \
|
| 13 | + cpanminus \ |
18 | 14 | curl \
|
19 |
| - wget \ |
| 15 | + debhelper \ |
20 | 16 | git \
|
21 |
| - rsync \ |
22 |
| - perl \ |
23 |
| - perl-doc \ |
24 |
| - libperl-dev \ |
25 |
| - cpanminus \ |
26 |
| - tofrodos \ |
27 |
| - poppler-utils \ |
28 |
| - apache2 \ |
29 |
| - apache2-utils \ |
30 |
| - libmariadb-dev \ |
31 |
| - libpng-dev \ |
32 |
| - libjpeg62-dev \ |
33 |
| - zlib1g-dev \ |
34 |
| - libmodule-install-perl \ |
| 17 | + libclass-inspector-perl \ |
| 18 | + libconfig-general-perl \ |
35 | 19 | libcpanel-json-xs-perl \
|
36 |
| - libfcgi-perl \ |
37 |
| - libnet-http-perl \ |
38 |
| - libsocket-perl \ |
39 |
| - libio-socket-ip-perl \ |
40 |
| - libgd-perl \ |
41 |
| - libtemplate-perl \ |
| 20 | + libcrypt-rijndael-perl \ |
42 | 21 | libdate-calc-perl \
|
43 |
| - libfile-slurp-perl \ |
44 | 22 | libdate-manip-perl \
|
45 |
| - libdatetime-timezone-perl \ |
46 | 23 | libdatetime-perl \
|
| 24 | + libdatetime-timezone-perl \ |
| 25 | + libdbd-mysql-perl \ |
| 26 | + libdbi-perl \ |
| 27 | + libdevel-cycle-perl \ |
47 | 28 | libexcel-template-perl \
|
| 29 | + libextutils-config-perl \ |
| 30 | + libextutils-helpers-perl \ |
| 31 | + libextutils-installpaths-perl \ |
| 32 | + libfcgi-perl \ |
| 33 | + libfile-bom-perl \ |
| 34 | + libfile-slurp-perl \ |
| 35 | + libgd-perl \ |
| 36 | + libhtml-lint-perl \ |
| 37 | + libhttp-message-perl \ |
| 38 | + libio-socket-ip-perl \ |
48 | 39 | libio-string-perl \
|
| 40 | + libjpeg62-dev \ |
49 | 41 | liblog-log4perl-perl \
|
| 42 | + libmariadb-dev \ |
50 | 43 | libmime-lite-perl \
|
51 |
| - libclass-inspector-perl \ |
52 |
| - libdbi-perl \ |
53 |
| - libdbd-mysql-perl \ |
54 |
| - libtest-simple-perl \ |
55 |
| - libhtml-lint-perl \ |
56 |
| - libfile-bom-perl \ |
57 |
| - libtest-cmd-perl \ |
58 |
| - libtest-pod-perl \ |
| 44 | + libmodule-build-tiny-perl \ |
| 45 | + libmodule-install-perl \ |
| 46 | + libnet-http-perl \ |
| 47 | + libpadwalker-perl \ |
59 | 48 | libperl-critic-perl \
|
| 49 | + libperl-dev \ |
| 50 | + libplack-perl \ |
| 51 | + libpng-dev \ |
| 52 | + libsocket-perl \ |
| 53 | + libsub-uplevel-perl \ |
| 54 | + libtemplate-perl \ |
| 55 | + libtest-cmd-perl \ |
60 | 56 | libtest-perl-critic-perl \
|
61 | 57 | libtest-pod-coverage-perl \
|
62 |
| - libdevel-cycle-perl \ |
63 |
| - libpadwalker-perl \ |
64 |
| - libmodule-build-tiny-perl \ |
65 |
| - libsub-uplevel-perl \ |
66 |
| - libextutils-helpers-perl \ |
67 |
| - libextutils-config-perl \ |
68 |
| - libextutils-installpaths-perl \ |
| 58 | + libtest-pod-perl \ |
69 | 59 | libtest-requires-perl \
|
70 |
| - libhttp-message-perl \ |
71 |
| - libplack-perl \ |
72 |
| - libcrypt-rijndael-perl \ |
73 |
| - libconfig-general-perl \ |
| 60 | + libtest-simple-perl \ |
74 | 61 | libwww-mechanize-perl \
|
| 62 | + lsb-release \ |
75 | 63 | npm \
|
| 64 | + perl \ |
| 65 | + perl-doc \ |
| 66 | + poppler-utils \ |
| 67 | + rsync \ |
| 68 | + tofrodos \ |
| 69 | + wget \ |
| 70 | + zlib1g-dev \ |
76 | 71 |
|
| 72 | +# list of mirrors: https://mirrors.opensuse.org/ |
| 73 | +#echo "deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./" >> /etc/apt/sources.list |
| 74 | +echo "deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] https://slc-mirror.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$(lsb_release -rs)/ ./" >> /etc/apt/sources.list |
| 75 | +curl -s "https://build.opensuse.org/projects/home:naemon/signing_keys/download?kind=gpg" \ |
| 76 | + -o /etc/apt/trusted.gpg.d/naemon.asc |
| 77 | +apt-get -y update |
77 | 78 | apt-get -y install naemon-core naemon-livestatus
|
78 | 79 | chsh -s /bin/bash naemon
|
79 | 80 | ! grep docker /etc/group >/dev/null || gpasswd -a naemon docker
|
|
0 commit comments