-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop to master - prepare for Amazon Linux 2023 #443
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
ThrawnCA
commented
Jun 24, 2024
- Update package installations to handle Amazon Linux 2023 offerings
- Configure services via Systemd if Supervisord is unavailable
- Fix param syntax
- Add shell alias for Git commands
- The 'configure' phase should specifically relate to an instance entering active service
- Swap disk should be created during 'setup' - Cron jobs should be created during 'configure' as they denote an active instance - Scripts should be created during 'deploy' as they are non-invasive
- Swap disk should be created during 'setup' - Cron jobs should be created during 'configure' as they denote an active instance - Scripts should be created during 'deploy' as they are non-invasive
QOLDEV-833 adjust recipes to better support 'warm' instances
- Wait until instance is meant to be active before starting services
…pped until 'configure' phase
[QOLDEV-833] only start Supervisor during 'configure' phase
- AL2023 replaces OpenJDK with Corretto, we can accept either one
… CLI - Previously it was only guaranteed to be installed on batch and web instances
- Use postfix if it's available, since it will be installed if available
- This lets us create, enable, and start units in one step, and avoids having to hard-code or guess the Systemd config path
- Chef has a bug applying the 'file' resource to an NFS share, see chef/chef#14438
- At some point we might replace everything with Systemd timers, but for now just enable cron
QOLDEV-892 prepare for Amazon Linux 2023
- One minute might not be quite enough for all the calls we need to make
- Don't put spaces around assignment operators
QOLDEV-892 fix VPC ID variable syntax
[QOLDEV-892] include 'index' directory in chown, just not its contents
- Otherwise Systemd will create them as root, which causes problems systemd/systemd#14385
- Starting Solr too early just causes it to fail
QOLDEV-892 Wait for 'configure' phase to start services
- Putting multiple commands in one property can be problematic, better to use the post property
QOLDEV-892 fix cookbook compatibility with Amazon Linux 2
zmacca
approved these changes
Jun 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.