Skip to content

Commit 082c749

Browse files
committed
tests: improve test reliability
fix missing performance data
1 parent 1d21786 commit 082c749

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

t/scenarios/auth_krb5/omd/playbook.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,23 @@
3232
# path: /omd/sites/demo/etc/mod-gearman/server.cfg
3333
# regexp: '^debug='
3434
# line: 'debug=2'
35-
- lineinfile:
36-
path: /omd/sites/demo/etc/nagflux/config.gcfg
37-
regexp: '^\s*Queue\s*='
38-
line: ' Queue = "nagflux"'
3935
#- lineinfile:
4036
# path: /omd/sites/demo/etc/nagflux/config.gcfg
4137
# regexp: '^\s*MinSeverity\s*='
4238
# line: ' MinSeverity = "TRACE"'
4339
- replace:
4440
dest=/omd/sites/demo/etc/nagflux/config.gcfg
45-
regexp='(ModGearman "example".*)Enabled = \w'
46-
replace='\1 Enabled = true'
41+
after='ModGearman "example"'
42+
before='Worker'
43+
regexp='.*Enabled = \w+'
44+
replace=' Enabled = true'
4745
- lineinfile:
4846
path: /omd/sites/demo/etc/nagflux/config.gcfg
4947
regexp: '^\s*Queue\s*='
50-
line: ' Enabled = true'
48+
line: ' Queue = "nagflux"'
49+
- copy:
50+
dest: /omd/sites/demo/etc/nagflux/nagios_nagflux.cfg
51+
content: ""
5152
- copy:
5253
src: /omd/sites/demo/share/doc/naemon/example.cfg
5354
dest: /omd/sites/demo/etc/naemon/conf.d/example.cfg

0 commit comments

Comments
 (0)