Line 20: | Line 20: | ||
# on puppet1 cp -a configs/system/planet/grouptmpl configs/system/planet/newgroupname | # on puppet1 cp -a configs/system/planet/grouptmpl configs/system/planet/newgroupname | ||
# cd to the new directory | # cd to the new directory | ||
# run <code> perl -pi -e "s/%%groupname/newgroupname/" fpbuilder.conf base_config planet-group.cron templates/* </code>replacing newgroupname with the groupname you want | # run <code> perl -pi -e "s/%%groupname/newgroupname/g" fpbuilder.conf base_config planet-group.cron templates/* </code>replacing newgroupname with the groupname you want | ||
# git add the whole dir | # git add the whole dir | ||
# edit manifests/services/planet.pp | # edit manifests/services/planet.pp |
Revision as of 20:40, 4 January 2010
Fedora's planet infrastructure produces planet configs out of users' ~/.planet files in their homedirs on fedorapeople.org. You can also create subgroups of users into other planets. This document explains how to setup new subgroups.
Contact Information
Owner: Fedora Infrastructure Team
Contact: #fedora-admin
Servers: puppet1 / planet.fedoraproject.org
Purpose: provide easy setup of new planet groups on planet.fedoraproject.org
After you get a request for a new planet group you just need to do the following:
The Setup
- on puppet1 cp -a configs/system/planet/grouptmpl configs/system/planet/newgroupname
- cd to the new directory
- run
perl -pi -e "s/%%groupname/newgroupname/g" fpbuilder.conf base_config planet-group.cron templates/*
replacing newgroupname with the groupname you want - git add the whole dir
- edit manifests/services/planet.pp
- copy and paste everything from begging to end of the design team group
- modify what you copied replacing design with the new group name
- save it
- check everything in
- run puppet on planet and check if it works
Use
Tell the requester to then copy their current .planet file to .planet.newgroupname. For example with the design team:
cp ~/.planet ~/.planet.design
This will then show up on the new feed - http://planet.fedoraproject.org/design/