From e41063673ad6d652d80f5902e935600b1c7f751d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Thu, 9 Sep 2021 15:22:30 +0200 Subject: [PATCH] Review planetsubgroup SOP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Konečný --- modules/sysadmin_guide/nav.adoc | 2 +- .../sysadmin_guide/pages/planetsubgroup.adoc | 30 ++++++++----------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/modules/sysadmin_guide/nav.adoc b/modules/sysadmin_guide/nav.adoc index a90e549..8936af3 100644 --- a/modules/sysadmin_guide/nav.adoc +++ b/modules/sysadmin_guide/nav.adoc @@ -88,7 +88,7 @@ ** xref:pagure.adoc[Pagure Infrastructure - SOP] ** xref:pdc.adoc[PDC - SOP] ** xref:pesign-upgrade.adoc[Pesign upgrades/reboots - SOP] -** xref:planetsubgroup.adoc[planetsubgroup - SOP in review ] +** xref:planetsubgroup.adoc[Planet Subgroup Infrastructure - SOP] ** xref:publictest-dev-stg-production.adoc[publictest-dev-stg-production - SOP in review ] ** xref:rabbitmq.adoc[rabbitmq - SOP in review ] ** xref:rdiff-backup.adoc[rdiff-backup - SOP in review ] diff --git a/modules/sysadmin_guide/pages/planetsubgroup.adoc b/modules/sysadmin_guide/pages/planetsubgroup.adoc index 079725c..6a5b4f6 100644 --- a/modules/sysadmin_guide/pages/planetsubgroup.adoc +++ b/modules/sysadmin_guide/pages/planetsubgroup.adoc @@ -21,40 +21,36 @@ following: The Setup [arabic] -. on batcave01: +. On batcave01: + .... cp -a configs/system/planet/grouptmpl configs/system/planet/newgroupname .... . cd to the new directory -. run: +. Run: + .... perl -pi -e "s/%%groupname/newgroupname/g" fpbuilder.conf base_config planet-group.cron templates/* .... ++ +Replacing newgroupname with the groupname you want -____ -replacing newgroupname with the groupname you want -____ - -[arabic, start=4] . git add the whole dir -. edit `manifests/services/planet.pp` -. copy and paste everything from begging to end of the design team +. Edit `manifests/services/planet.pp` +. Copy and paste everything from begging to end of the design team group, to use as a template. -. modify what you copied replacing design with the new group name -. save it -. check everything in -. run ansible on planet and check if it works +. Modify what you copied replacing design with the new group name +. Save it +. Check everything in +. Run ansible 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: +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/ +This will then show up on the new feed http://planet.fedoraproject.org/design/