-
Notifications
You must be signed in to change notification settings - Fork 193
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
add support for Amazon Linux 2023 agent in PE environment #716
Comments
Maybe this is the only place where it needs to be fixed? it should have https://github.com/puppetlabs/puppetlabs-puppet_agent/blob/main/manifests/osfamily/redhat.pp#L41-L42 |
Also, for PE installation this description is incorrect |
I think this was done already #692? What behavior are you expecting? What is the actual behavior? |
@joshcooper , I posted comments above |
@joshcooper , I might not understand your question, I apologize
Since baseurl is incorrect, dnf fails:
|
@vchepkov ah thanks that makes sense. It looks like d5ad156 fixed one place but not the other: # Treat Amazon Linux just like Enterprise Linux
$pe_repo_dir = ($facts['os']['name'] == 'Amazon') ? {
true => "el-${amz_el_version}-${facts['os']['architecture']}",
default => $facts['platform_tag'],
} @span786 can you take a look? |
@joshcooper , @span786, considering that Amazon 2 march also was released, presumably that platform also needs to be fixed |
@vchepkov I made some updates to this module for Amazon support in 75d15a6, but it hasn't been released yet. And we've begun shipping Amazon 2023 specific packages for both architectures, see https://yum.puppet.com/puppet8/amazon/2023 Could you provide a sample manifest to reproduce the problem you're seeing so that we can verify if more work is needed? FWIW, the module should map the baseurl as follows for different combinations of Amazon OS versions and architectures:
|
Just |
@joshcooper , I tested on 4 ec2 instances al2/al2023/x86_64/aarch64 - all updated clients to 8.8.1
Beside that weird message at the end, everything seems to be fine, thank you |
Thanks @vchepkov!! Do you get that message everytime the agent runs? Or just on upgrade? |
Only on upgrades from puppet 7 to puppet 8 |
Thanks @vchepkov we'll get a release out |
Fixed in 610b6da |
With latest PE adding support for Amazon Linux 2023 agents, could you, please, add support to the module?
The text was updated successfully, but these errors were encountered: