-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathManifests
More file actions
569 lines (543 loc) · 22.2 KB
/
Manifests
File metadata and controls
569 lines (543 loc) · 22.2 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
В данном гайде перечислены манифесты которые использовались для администрирования ОС RedOS 8.0.2 и RedOS 7.3.6.
Используемые средства для администрирования: Foreman + Puppet.
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Главное — правильно распределить порядок выполнения манифестов, иначе есть риск сломать корректную работу настраиваемых служб в ОС.
Я спланировал порядок выполнения манифестов с помощью латинского алфавита.Для установки ПО на ОС я под каждое писал отдельный манифест, т.к. манифесты я
разбивал на группы для определенной версии ОС RedOS.
Также, наименования каталогов после "/etc/puppetlabs/code/environments/production/modules/" должны совпадать с наименованием класса в нутри конфигурационного
файла "init.pp".
--------------------------------------------------------------------------------------------------------------------------------------------------------------
a1_ssh_key
------------
class a1_ssh_key {
$key_content = 'ssh-ed25519 AAAAA3AaaA1aAAA1AAA5AAAAAAaaaaaaaaa3AaaaaAAAaa+A6AAA4Aaaa7AaAAAaaAa8 root@redos-pc'
file { '/root/.ssh/authorized_keys':
ensure => file,
content => $key_content,
owner => 'root',
group => 'root',
mode => '0600',
require => File['/root/.ssh'],
}
file { '/root/.ssh':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0700',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
b1_sshd_config
------------
class b1_sshd_config {
# Execute configuration changes unless PasswordAuthentication is already set to "no"
exec { 'uncomment_PubkeyAuthentication':
command => "sed -i -r 's/^#?\\s*PubkeyAuthentication\\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config",
onlyif => "grep -Eq '^#\\s*PubkeyAuthentication|^PubkeyAuthentication(\\s+no|\\s+NO)' /etc/ssh/sshd_config",
unless => "grep -q '^PasswordAuthentication no$' /etc/ssh/sshd_config",
path => ['/bin', '/usr/bin'],
}
exec { 'uncomment_PasswordAuthentication':
command => "sed -i -r 's/^#?\\s*PasswordAuthentication\\s+.*/PasswordAuthentication yes/' /etc/ssh/sshd_config",
onlyif => "grep -Eq '^#\\s*PasswordAuthentication|^PasswordAuthentication(\\s+no|\\s+NO)' /etc/ssh/sshd_config",
unless => "grep -q '^PasswordAuthentication no$' /etc/ssh/sshd_config",
path => ['/bin', '/usr/bin'],
require => Exec['uncomment_PubkeyAuthentication'],
}
exec { 'disable_PasswordAuthentication':
command => "sed -i 's/^PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config",
onlyif => "grep -q '^PasswordAuthentication yes' /etc/ssh/sshd_config",
unless => "grep -q '^PasswordAuthentication no$' /etc/ssh/sshd_config",
path => ['/bin', '/usr/bin'],
require => Exec['uncomment_PasswordAuthentication'],
}
# Verify PubkeyAuthentication is set to yes
exec { 'verify_PubkeyAuthentication_yes':
command => "sed -i -r 's/^#?\\s*PubkeyAuthentication\\s+.*/PubkeyAuthentication yes/' /etc/ssh/sshd_config",
onlyif => "grep -Eq '^#\\s*PubkeyAuthentication|^PubkeyAuthentication(\\s+no|\\s+NO)' /etc/ssh/sshd_config",
unless => "grep -q '^PubkeyAuthentication yes$' /etc/ssh/sshd_config",
path => ['/bin', '/usr/bin'],
require => Exec['disable_PasswordAuthentication'],
}
# Service restart at the end
exec { 'restart_sshd':
command => 'systemctl restart sshd',
path => ['/bin', '/usr/bin', '/usr/sbin'],
onlyif => "grep -q '^PasswordAuthentication yes' /etc/ssh/sshd_config",
require => Exec['verify_PubkeyAuthentication_yes'],
}
service { 'sshd':
ensure => running,
enable => true,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
c1_root_pass
------------
class c1_root_pass {
# Открытый пароль для установки
$new_password = 'P@ssw0rD'
# Префикс хэша yescrypt из /etc/shadow — первые ~29 символов, уникально идентифицирующие пароль
$expected_hash_prefix = '$6$aaaaaaAaa$aaAAAaaaAAaaAaAAA'
exec { 'set_root_password':
command => "echo '${new_password}' | passwd --stdin root",
unless => "grep '^root:' /etc/shadow | cut -d: -f2 | grep -q '^${expected_hash_prefix}'",
path => ['/bin', '/usr/bin'],
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
d1_create_admin
------------
class d1_create_admin {
user { 'admin':
ensure => present,
managehome => true,
shell => '/bin/bash',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
e1_admin_pass
------------
class e1_admin_pass {
# Открытый пароль для установки
$new_password = 'P@ssw0rD'
# Префикс хэша yescrypt из /etc/shadow — первые ~29 символов, уникально идентифицирующие пароль
$expected_hash_prefix = '$6$aaaaaaAaa$aaAAAaaaAAaaAaAAA'
exec { 'set_admin_password':
command => "echo '${new_password}' | passwd --stdin admin",
unless => "grep '^admin:' /etc/shadow | cut -d: -f2 | grep -q '^${expected_hash_prefix}'",
path => ['/bin', '/usr/bin'],
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
f1_adm_group
------------
class f1_adm_group {
file { '/etc/sudoers.d/adm_group':
ensure => file,
content => @("END_CONTENT"),
%domaingroupusers@domain.com ALL=(ALL) NOPASSWD:ALL
%domaingroupusers@domain.two.com ALL=(ALL) NOPASSWD:ALL
| END_CONTENT
owner => 'root',
group => 'root',
mode => '0440',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
g1_admin_politicians
------------
class g1_admin_politicians {
file { '/etc/sudoers.d/admin_politicians':
ensure => file,
content => @("END_CONTENT"),
admin ALL=(ALL) NOPASSWD: /usr/bin/join-to-domain.sh
admin ALL=(ALL) NOPASSWD: /usr/bin/join-to-domain
admin ALL=(ALL) NOPASSWD: /usr/share/join-to-domain/*
| END_CONTENT
owner => 'root',
group => 'root',
mode => '0440',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
h1_locked_grub
------------
class h1_locked_grub (
String $grub_custom_file = '/etc/grub.d/40_custom',
String $grub_superuser = 'set superusers="root"',
String $grub_password = 'password_pbkdf2 root grub.pbkdf2.sha512.10000.32837AAAAAAA367AA1A9A1A854AA9AA9AAAA3382A4A720A4A2080510A98603A3AAA9121A77AA636AAA404AA1A54A96A044A5A8974AA5A6AA6A6AA9AAA8AA41AA.7AAAAAA067A4781A7A316A573254AA40449A218947A0A139AA8258A5AAA8A840A9A1AA137361A67A3A4263A6A573A319AA5A0A881A81AA5482429A177430586A',
) {
# Создаём файл с полным содержимым
file { $grub_custom_file:
ensure => file,
mode => '0755',
owner => 'root',
group => 'root',
content => "#!/usr/bin/sh
exec tail -n +3 \$0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
${grub_superuser}
${grub_password}
",
}
$is_uefi_string = inline_template('<%= File.directory?("/sys/firmware/efi") ? "true" : "false" %>')
$is_uefi = $is_uefi_string == 'true' ? {
true => true,
false => false,
}
# Пересоздаём grub.cfg для BIOS систем
exec { 'regenerate_grub_config_bios':
command => "/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg",
environment => ['HISTFILE=/dev/null'],
subscribe => File[$grub_custom_file],
refreshonly => true,
path => ['/bin', '/usr/bin', '/usr/sbin'],
onlyif => 'test ! -d /sys/firmware/efi',
}
# Пересоздаём grub.cfg для UEFI систем
exec { 'regenerate_grub_config_uefi':
command => "/usr/sbin/grub2-mkconfig -o /boot/efi/EFI/redos/grub.cfg",
environment => ['HISTFILE=/dev/null'],
subscribe => File[$grub_custom_file],
refreshonly => true,
path => ['/bin', '/usr/bin', '/usr/sbin'],
onlyif => 'test -d /sys/firmware/efi',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
i1_monitoring
------------
class i1_monitoring {
file { '/etc/sudoers.d/now-monitoring':
ensure => file,
content => "monitoring ALL=(ALL) NOPASSWD: ALL\n",
owner => 'root',
group => 'root',
mode => '0440',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
j1_redos_base_repo8
------------
class j1_redos_base_repo8 {
file { '/etc/yum.repos.d/RedOS-Base.repo':
ensure => file,
content => "[base]
name=RedOS - Base
baseurl=https://your-site.domain.ru/redos8/base8/
#baseurl=https://repo1.red-soft.ru/redos/8.0/\$basearch/os,https://mirror.yandex.ru/redos/8.0/\$basearch/os,http://repo.red-soft.ru/redos/8.0/\$basearch/os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RED-SOFT
enabled=1
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
j2_redos_base_repo7
------------
class j2_redos_base_repo7 {
file { '/etc/yum.repos.d/RedOS-Base.repo':
ensure => file,
content => "[base]
name=RedOS - Base
baseurl=https://your-site.domain.ru/redos7/base7/
#baseurl=https://repo1.red-soft.ru/redos/7.3/\$basearch/os,https://mirror.yandex.ru/redos/7.3/\$basearch/os,http://repo.red-soft.ru/redos/7.3/\$basearch/os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RED-SOFT
enabled=1
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
jk1_redos_kernels6_repo7
------------
class jk1_redos_kernels6_repo7 {
file { '/etc/yum.repos.d/RedOS-kernels6.repo':
ensure => file,
content => "[kernels6]
name=Repositories for kernels6
baseurl=https://your-site.domain.ru/redos7/kernels6/
#baseurl=https://repo1.red-soft.ru/redos/7.3/\$basearch/extras/kernels6-73,https://mirror.yandex.ru/redos/7.3/\$basearch/extras/kernels6-73,http://repo.red-soft.ru/redos/7.3/\$basearch/extras/kernels6-73
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RED-SOFT
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
k1_redos_updates_repo8
------------
class k1_redos_updates_repo8 {
file { '/etc/yum.repos.d/RedOS-Updates.repo':
ensure => file,
content => "[updates]
name=RedOS - Updates
baseurl=https://your-site.domain.ru/redos8/updates8/
#baseurl=https://repo1.red-soft.ru/redos/8.0/\$basearch/updates,https://mirror.yandex.ru/redos/8.0/\$basearch/updates,http://repo.red-soft.ru/redos/8.0/\$basearch/updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RED-SOFT
enabled=1
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
k2_redos_updates_repo7
------------
class k2_redos_updates_repo7 {
file { '/etc/yum.repos.d/RedOS-Updates.repo':
ensure => file,
content => "[updates]
name=RedOS - Updates
baseurl=https://your-site.domain.ru/redos7/updates7/
#baseurl=https://repo1.red-soft.ru/redos/7.3/\$basearch/updates,https://mirror.yandex.ru/redos/7.3/\$basearch/updates,http://repo.red-soft.ru/redos/7.3/\$basearch/updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RED-SOFT
enabled=1
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
l1_app_repo
------------
class l1_app_repo {
file { '/etc/yum.repos.d/App.repo':
ensure => file,
content => "[r7-office]
name=R7-Office_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/r7-office/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/r7-office/RPM-GPG-KEY-R7-OFFICE.public
sslverify=0
[trueconf_8.0]
name=TrueConf-8.0_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/trueconf/8.0/x86_64/trueconf-8.0/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/trueconf/RPM-GPG-KEY-trueconf
[yandex-browser]
name=Yandex-Browser_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/yandex-browser/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/yandex-browser/YANDEX-BROWSER-KEY.GPG
[Fonts]
name=Fonts_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/fonts/
enabled=1
gpgcheck=0
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
l2_app_repo7
------------
class l2_app_repo7 {
file { '/etc/yum.repos.d/App.repo':
ensure => file,
content => "[r7-office]
name=R7-Office_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/r7-office/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/r7-office/RPM-GPG-KEY-R7-OFFICE.public
sslverify=0
[trueconf_7.3.6]
name=TrueConf-7.3.6_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/trueconf/7.3.6/x86_64/trueconf-7.3.6/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/trueconf/RPM-GPG-KEY-trueconf
[yandex-browser]
name=Yandex-Browser_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/yandex-browser/
enabled=1
gpgcheck=1
gpgkey=https://your-site.domain.ru/outside_software_redos/yandex-browser/YANDEX-BROWSER-KEY.GPG
[Fonts]
name=Fonts_your-site.domain.ru
baseurl=https://your-site.domain.ru/outside_software_redos/fonts/
enabled=1
gpgcheck=0
",
owner => 'root',
group => 'root',
mode => '0644',
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
m1_flameshot
------------
class m1_flameshot {
package { 'flameshot':
ensure => installed,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
m2_max
------------
class m2_max {
$package_name = 'max'
$download_url = 'https://your-site.domain.ru/Packages/MAX.rpm'
$local_rpm_path = '/tmp/MAX.rpm'
# Скачиваем только если пакет не установлен
exec { 'download_max_rpm':
command => "/usr/bin/wget -O ${local_rpm_path} ${download_url}",
unless => "/usr/bin/rpm -q ${package_name} >/dev/null 2>&1",
path => ['/usr/bin', '/bin', '/usr/local/bin'],
timeout => 600,
}
# Ставим только если пакет не установлен
exec { 'install_max_rpm':
command => "/usr/bin/dnf install -y ${local_rpm_path}",
unless => "/usr/bin/rpm -q ${package_name} >/dev/null 2>&1",
require => Exec['download_max_rpm'],
path => ['/usr/bin', '/bin', '/usr/sbin'],
timeout => 1800,
refreshonly => true,
subscribe => Exec['download_max_rpm'],
}
exec { 'cleanup_max_rpm':
command => "/usr/bin/rm -f ${local_rpm_path}",
require => Exec['install_max_rpm'],
path => ['/usr/bin', '/bin'],
timeout => 60,
onlyif => "/usr/bin/test -f ${local_rpm_path}",
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
n1_fonts_winoff
------------
class n1_fonts_winoff {
package { 'Fonts_WinOff':
ensure => installed,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
o1_okular
------------
class o1_okular {
exec { 'okular':
command => '/usr/bin/dnf install -y okular*',
unless => '/usr/bin/rpm -q okular',
path => ['/usr/bin', '/bin'],
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
p1_redadm_client
------------
class p1_redadm_client {
package { 'redadm-client':
ensure => installed,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
q1_simple_scan
------------
class q1_simple_scan {
package { 'simple-scan':
ensure => installed,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
r1_hp
------------
class r1_hp {
exec { 'hp':
command => '/usr/bin/dnf install -y hp*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^hp"',
path => ['/usr/bin', '/bin'],
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
s1_remove_r7_release
------------
class s1_remove_r7_release {
exec { 'remove_r7_release_package':
command => '/usr/bin/dnf remove -y r7-release*',
onlyif => '/usr/bin/rpm -qa | /usr/bin/grep -q "^r7-release"',
path => ['/usr/bin', '/bin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
t1_remove_yandex_browser_release
------------
class t1_remove_yandex_browser_release {
exec { 'remove_yandex_browser_release':
command => '/usr/bin/dnf remove -y yandex-browser-release*',
onlyif => '/usr/bin/rpm -qa | /usr/bin/grep -q "^yandex-browser-release"',
path => ['/usr/bin', '/bin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
u1_r7
------------
class u1_r7 {
exec { 'r7':
command => '/usr/bin/dnf install -y --exclude=r7-release* r7*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^r7"',
path => ['/usr/bin', '/bin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
v1_telegram_desktop
------------
class v1_telegram_desktop {
exec { 'install_telegram_desktop':
command => '/usr/bin/dnf install -y telegram-desktop*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^telegram-desktop"',
path => ['/usr/bin', '/bin'],
timeout => 1800,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
w1_trueconf
------------
class w1_trueconf {
exec { 'install_trueconf':
command => '/usr/bin/dnf install -y trueconf-8*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^trueconf"',
path => ['/usr/bin', '/bin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
x1_wine
------------
class x1_wine {
exec { 'install_wine':
command => '/usr/bin/dnf install -y wine*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^wine"',
path => ['/usr/bin', '/bin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
y1_yandex_browser_stable
------------
class y1_yandex_browser_stable {
exec { 'install_yandex_browser':
command => '/usr/bin/dnf install -y yandex-browser-stable*',
unless => '/usr/bin/rpm -qa | /usr/bin/grep -q "^yandex-browser-stable"',
path => ['/usr/bin', '/bin', '/usr/sbin'],
timeout => 3600,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------
z1_upgrade_system
------------
class z1_upgrade_system {
exec { 'check_and_upgrade_redos':
command => '/usr/bin/dnf upgrade -y',
onlyif => '/usr/bin/bash -c "dnf check-update >/dev/null 2>&1; RC=\\$?; test \\$RC -eq 100"',
path => ['/usr/bin', '/bin', '/usr/sbin', '/sbin'],
timeout => 18000,
refreshonly => false,
logoutput => true,
}
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------