class DistGroup(GroupRecipe): name = 'group-dist' version = '2.2.0.3' def addCommonPackages(r): # this is where all of the common pieces get added to all # the groups. This searches your "common" label then # conary's group-dist. r.add('openssh-server') r.add('group-core') r.add('postgresql-server','conary.rpath.com@rpl:1') r.add('info-globus') r.add('group-turbogears') r.add('sun-jre') r.add('sun-jdk') r.add('ant') r.add('httpd') r.addAll('group-raa','raa.rpath.org@rpath:raa-2') r.add('globus-ws-core') r.add('uclp-preconfig') r.add('uclpplugins') r.add('python', '2.4.1-20.8-1') r.add('group-uclp-services') r.add('group-updatesite') def setup(r): # this tells it to search your common label first, # then search rPath's repository for everything else. # This will be used when resolving dependencies r.setLabelPath('uclp.inocybe.ca@iti:uclp-devel', 'conary.rpath.com@rpl:1', 'raa.rpath.org@rpl:1') r.setSearchPath('uclp.inocybe.ca@iti:uclp-devel', 'conary.rpath.com@rpl:1') # define the 3 labels to use up at the top. smallBusinessLabel = 'uclp.inocybe.ca@iti:uclp-sb-devel' enterpriseLabel = 'uclp.inocybe.ca@iti:uclp-ee-devel' communityLabel = 'uclp.inocybe.ca@iti:uclp-ce-devel' # community edition r.createGroup('group-uclp-community', autoResolve=True) r.addNewGroup('group-uclp-community', groupName='group-dist') r.setDefaultGroup('group-uclp-community') r.addCommonPackages() r.replace('raa-branding', '/raa.rpath.org@rpath:raa-devel//raa-2//uclp.inocybe.ca@iti:uclp-ce-devel') r.add('anaconda-custom',communityLabel) r.add('media-template',communityLabel) #r.add('uclp-ce-all',communityLabel) r.add('uclp-nmc',communityLabel) # small business edition #r.createGroup('group-uclp-small-business', autoResolve=True) #r.addNewGroup('group-uclp-small-business', groupName='group-dist') #r.setDefaultGroup('group-uclp-small-business') #r.add('free-edition-package', smallBusinessLabel) # enterprise edition #r.createGroup('group-uclp-enterprise', autoResolve=True) #r.addNewGroup('group-uclp-enterprise', groupName='group-dist') #r.setDefaultGroup('group-uclp-enterprise') #r.add('enterprise-edition-package', enterpriseLabel)