Page MenuHomePhabricator

set up frpm2001 as a full puppet master
Closed, ResolvedPublic

Description

Do all the steps needed to make frpm2001 a puppetmaster to replace heka

  • create ssh keys
  • update authorized keys
  • verify host keys
  • run puppet-merge for base and private repos
  • set up credentials for payments db backup
  • import gpg keys from frpm1001/heka
  • update gpg.conf file to contain fr_tech_ops group
  • update authorized keys for backupmover and create /srv/backupmover/$host directory
  • update modules/role/manifests/logger.pp
  • update modules/role/files/build/etc/motd.tail
  • update modules/fundraising/templates/archive_sync.erb
  • update modules/fundraising/templates/archive_purge.erb
  • create and add mwdeploy ssh pub key
  • ...

Event Timeline

Couple of commits to set up keys and merge repos:

Date: Fri Mar 6 21:35:43 2020 +0000
Subject: [frack::puppet] 013638dc Adding frpm2001 as a puppetmaster

Need to designate it as a puppetmaster so that it can get a sync of the repos
including the private repo.

Bug: T242269

M       hieradata/site/common.yaml
Date: Fri Mar 6 21:49:41 2020 +0000
Subject: [frack::puppet::private] 38eb8fd Add frpm2001 root keys to git and puppet authorized keys
    files

This is a set needed for setting up frpm2001 as a puppet master and for git repo syncing.

Bug: T242269

M       secrets/ssh/build/git
M       secrets/ssh/build/puppet

puppet merge has been run successfully for the main and private repos.

Going to test this as a working replacement today with a few hosts, and if all goes well, we can cut over.

frpm2001 is currently set as the main puppetmaster in codfw. Tested and then enabled with the following changes:

[frack::puppet] 26fef9a7 Using 3 hosts as test hosts for frpm2001 full functionality
[frack::puppet] d495f74c Make frpm2001 the puppetmaster for codfw
Dwisehaupt moved this task from In Progress to Done on the fundraising-tech-ops board.