Florian Thießen schrieb: > Tomasz Chmielewski schrieb: >> Florian Thießen schrieb: >> >> (...) >> >>>>> Defining the same variable with the same value for all profiles doesn't >>>>> seem so nice either. I'm forced to use quite alot of them due to >>>>> different hardware and drivers. >>>> And did you read that link? >>>> >>>> http://wpkg.org/Variable_setting_through_hosts/profiles/packages >>>> >>>> >>> Yes, maybe I missed a point? I got it as I'm able to set that variable >>> either in hosts.xml, profiles.xml and/or packages.xml. Looking at it >>> I've got less profiles than hosts and packages, so I would >>> add it to the profiles.xml, reading that link states I would need to set >>> it to _every_ profile though? That isn't a 'nice' solution either, imo. >> Please reply to the list (i.e., use "Reply to all" button in your mail >> client). > > Ups, thanks for the hint, didn't realize I was just mailing you. > >> You can define one profile, and then make all profiles depend on this >> one profile. >> >> http://wpkg.org/Profile_dependencies >> > > But isn't that just moving the problem? There doesn't seem to be a > difference as I would need to add a line to each profile (or the other > way around) still. How hard it is to add a line? Assuming you have lots of these profiles, you're likely to have it automated anyway? > Granted I would then only need to change one line if I wanted to edit > the path again, but the initial work would be the same plus it makes the > profiles file more complicated. Does adding: <depends profile-id="default" /> to each profile make it that more complicated? You can keep profiles in separate files, too. However, if you have 100 different profiles for 100 different hosts, either there is something wrong with the design/administration of your hosts, or you just have a big "test setup"? -- Tomasz Chmielewski http://wpkg.org |