Target nightly collections for Amazon Linux 2023 since only nightly builds are available for it for now.
Install puppet script installs 'el' package for amazon. From Amazon Linux 2023 onwards we have 'amazon' named packages available, so the condition added should install the 'amazon' package for versions 2023 and above.
…odule task acceptance