rules and classes
Hi there, i know, there are enough topics with the same question... I've see the answer of Anas, he said that the documentation is updatet, but i didn't find any new information about rules and classes. in my repository folder I created the folders rules/, /classes in the rules directory i put my rules.xml, that w0rks pretty good! I also put some class files in my classes folder (with subdir) and it works fine, too. But is it possible to merge some different configuration sections (which are saved in different files) like software.xml base.xml network.xml so that i could define a rule (check about the mac adress) or more rules to merge these 3 parts of control file to a new (master) controlfile? when i define a two rules like this: <rule> <disksize> <match>/dev/hda 1</match> <match_type>greater</match_type> </disksize> <result> <profile>base</profile> <continue config:type="boolean">true</continue> </result> </rule> <rule> <mac> <match>000475fcedbf</match> <match_type>exact</match_type> </mac> <result> <profile>base.xml</profile> <continue config:type="boolean">false</continue> </result> </rule> i want to merge the base.xml and network.xml (in my base.xml are no definitions about the network options) I tried these kind of config, it works, but without my network settings. So the autoinstall process didn't merge these files I know, that kind of solutions isn't the right way, but i didnt know better, please help me :o) Finally i want to create some rules (and/or) classes to have only 1 base controlfile and some network config templates with different settings for each machine. Thx best regards Kai Möller
participants (1)
-
Kai Moeller