Closed essa closed 6 months ago
@showwin can you help us review this PR, please?
@showwin Sorry, hold the review please. I found one issue to fix.
@showwin
I moved the hook_priority
from a model attribute to a plugin attribute.
To add the priority by bcn
cli, it must be a plugin attribute.
And I also make the default value to zero as your suggestion.
Could you review it again? 🙏
LGTM about the latest code👍
Continue from #805
The Datadog agent must be invoked after the instance has been set up, otherwise it will alert about setup activity, such as installing a yum package.
This PR adds a priority to
Plugin
and updates the calling order of plugin hooks so that we can be sure that datadog is installed and invoked last.This plugin should be registered with max priority in the district.
And it also updates the instance type of bastion to 't3.small'. 't3.micro' was too small for all the plugin and sometimes the cloud-init fails.