Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F32189988
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Kormat
Aug 20 2020, 1:29 PM
2020-08-20 13:29:10 (UTC+0)
Size
891 B
Referenced Files
None
Subscribers
None
raw.txt
View Options
Non-puppet nodes:
- Update rolemap.yaml to the new domain names
- On each host edit /etc/hosts and change the domain
- Run puppet agent twice on each host
- Drop the old hostnames from puppet db: `puppet node deactivate <node>`
- Drop old certs (if the previous step doesn't take care of that): `puppet cert clean <node>`
Renaming puppetdb server:
- Do the above
- Restart these services on the puppetdb server in some order (maybe even this one?):
- postgresql
- puppetdb
- uwsgi-puppetdb-microservice
- nginx
- Restart apache2 on puppetmaster.
Renaming puppetmaster:
- Update rolemap.yaml
- Edit /etc/hosts and set new domain
- Run puppet agent. It will fail reloading apache2
- cp /var/lib/puppet/server/ssl/ca/signed/<new fqdn>.pem /var/lib/puppet/server/ssl/certs/
- cp /var/lib/puppet/ssl/private_keys/<new fqdn>.pem /var/lib/puppet/server/ssl/private_keys/
- restart apache2
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8510629
Default Alt Text
raw.txt (891 B)
Attached To
Mode
P12305 moving pontoon env to new domain
Attached
Detach File
Event Timeline
Log In to Comment