Parent Directory | Revision Log | Patch
revision 1.5 by tv, Wed Dec 3 11:30:01 2003 UTC | revision 1.6 by logarno, Wed Dec 3 21:25:34 2003 UTC | |
---|---|---|
# | Line 13 display(1); | Line 13 display(1); |
13 | # test 2, editing an atom | # test 2, editing an atom |
14 | display(2); | display(2); |
15 | $struct = new Libconf("hostgroups.cfg", 'nagios', ''); | $struct = new Libconf("hostgroups.cfg", 'nagios', ''); |
16 | $struct->editAtom(-1, {key => 'members', list => [ 'test1', 'tutu' ] }); | $struct->editAtom(-1, {key => 'members', list => [ 'test1', 'tutu' ], sections => [{name => 'hostgroup'}]}); |
17 | $struct->writeConf("nagios_output_2"); | $struct->writeConf("nagios_output_2"); |
18 | test(2); | test(2); |
19 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |