Majavah added a comment.
In T304328#7966461 <https://phabricator.wikimedia.org/T304328#7966461>, @ItamarWMDE wrote: >> Please fix. All deployment-prep instances must be fully configured via Puppet and not by hand / separate Ansible cookbooks. > > @Majavah thanks for the heads-up, can you please provide some documentation on how to set this up? I've looked at the documentation on wikitech, and both pages I found weren't really forthcoming in how and where I should create these puppet configurations: > > - Help:Standalone puppetmaster <https://wikitech.wikimedia.org/wiki/Help:Standalone_puppetmaster> (linked from Nova_Resource:Deployment-prep/Help <https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/Help>) > - Puppet <https://wikitech.wikimedia.org/wiki/Puppet> First of all, all instances in the deployment-prep project must be configured to use the project-local puppetmaster (currently deployment-puppetmaster04) following these instructions: https://wikitech.wikimedia.org/wiki/Help:Standalone_puppetmaster#Step_2:_Setup_a_puppet_client Having the instance configured by Puppet can be a bit more complicated if there aren't existing puppet manifests for the service. If it runs in docker, you can use `role::beta::docker_services` (look at any of the deployment-docker-* instances for inspiration). For non-dockerized services you would need to write actual puppet manifests, which can be complicated if you aren't familiar with Puppet already. https://wikitech.wikimedia.org/wiki/Puppet_coding and existing examples in the puppet repo <https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/refs/heads/production> can be helpful here. If this is intended to run in production one day, you'll want to talk to SRE for any architectural considerations. TASK DETAIL https://phabricator.wikimedia.org/T304328 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ItamarWMDE, Majavah Cc: Jakob_WMDE, Majavah, ItamarWMDE, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, Devnull, maantietaja, Nintendofan885, Akuckartz, CptViraj, darthmon_wmde, DannyS712, Nandana, JKSTNK, skpuneethumar, Fheredia, Zylc, 1978Gage2001, Lahi, Operator873, Gq86, Bsandipan, GoranSMilovanovic, Chicocvenancio, QZanden, Tbscho, LawExplorer, JJMC89, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Jitrixis, aude, Gryllida, Lydia_Pintscher, scfc, Addshore, Mbch331, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org