Closed mirkop-mattr closed 3 years ago
Thanks @mirkop-mattr! How did you test this? I guess we should explitity add Ubuntu 20.04 as a target to our tests and Packer templates.
Thanks @mirkop-mattr! How did you test this? I guess we should explitity add Ubuntu 20.04 as a target to our tests and Packer templates.
Apologies I can try to run the tests tomorrow. I have actually build a Ubuntu 20.04 AMI myself, but with a packer template that did not include 16.04 anymore and looked slightly different. So yes it is probably a good idea to run the testsuite.
@mirkop-mattr okay as part of this PR I think we also need to include examples + tests for Ubuntu 20.04 otherwise there's no way for our automated test suite to continually validate that this change works correctly. Are you able to add Ubuntu 20.04 to the Packer templates and tests?
Alternatively, you could also try another approach here: https://github.com/hashicorp/terraform-aws-consul/pull/197/files#diff-6c605a7da1f7d7fe7888c86e0165164c3a93d4059ac17be4e64c6cfbe6dc341bR85 that somehow works on all Ubuntu versions greater than 18.04. That way we won't have to explicitly list each distribution. Note: I'm assuming that's probably a bit more difficult than what I've proposed above.
Doh, race condition! Looks like I duplicated @robmorgan's comments. Sorry about that 😁
Thanks for the feedback! Do you want me to update the circle ci configuration as well?
@mirkop-mattr okay as part of this PR I think we also need to include examples + tests for Ubuntu 20.04 otherwise there's no way for our automated test suite to continually validate that this change works correctly. Are you able to add Ubuntu 20.04 to the Packer templates and tests?
Alternatively, you could also try another approach here: https://github.com/hashicorp/terraform-aws-consul/pull/197/files#diff-6c605a7da1f7d7fe7888c86e0165164c3a93d4059ac17be4e64c6cfbe6dc341bR85 that somehow works on all Ubuntu versions greater than 18.04. That way we won't have to explicitly list each distribution. Note: I'm assuming that's probably a bit more difficult than what I've proposed above.
Do you have any suggestions for another approach? I could check if the system we are running on is using systemd.
Any updates on merging this?
@mirkop-mattr , can you sign that CLA?
Any chance we can kick off the signing of the CLA again? I have changed email addresses for this account. Or shall I raise a new PR?
I don't see any way to do it other than a new PR. Thx!
Closing this and raising https://github.com/hashicorp/terraform-aws-consul/pull/217 using different github account.
Systemd is also available on Ubuntu 20.04. The updates will allow the provisioning script to run.