| | 1 | = Sign a Puppet Release = |
| | 2 | |
| | 3 | MF/PL's servers are configured centrally using a [wiki:faq/admin/puppet git repository with puppet configuration files]. |
| | 4 | |
| | 5 | Each server, on an hourly cron job that runs on the top of the hour, pulls in the latest version of the git repository, checks for a tag signed by a member of the support team, and if it finds one, it pulls in the changes. |
| | 6 | |
| | 7 | To sign a tag, run the following command locally: |
| | 8 | |
| | 9 | {{{ |
| | 10 | git tag |
| | 11 | }}} |
| | 12 | |
| | 13 | To see what the last tag was. |
| | 14 | |
| | 15 | {{{ |
| | 16 | git tag -s mfpl-puppet-x.xx |
| | 17 | }}} |
| | 18 | |
| | 19 | To sign the next tag. In the commit message, I simply put the tag that I've created. |
| | 20 | |
| | 21 | Ensure your tag is pushed: |
| | 22 | |
| | 23 | {{{ |
| | 24 | git push --tags origin master |
| | 25 | }}} |
| | 26 | |
| | 27 | Wait for the top of the hour. |