-
Notifications
You must be signed in to change notification settings - Fork 190
Updated versions, added tag variables and updated java/nomad installation #37
base: master
Are you sure you want to change the base?
Conversation
stenio123
commented
Dec 14, 2018
- Need to review Packer file for Ubuntu, Java and Docker not being installed
Added custom tags to modules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
How did you test it?
"consul_module_version": "v0.3.1", | ||
"consul_version": "1.0.3" | ||
"nomad_version": "0.8.6", | ||
"consul_module_version": "master", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should use a specific tag rather than master, as we occasionally have to make backwards incompatible changes (e.g., Terraform 0.12 is coming!).
sudo apt-get update | ||
apt-cache policy docker-ce | ||
# Desired Nomad drivers - Docker and Java | ||
sudo apt install docker.io -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apt
often has very out of date versions of Docker. The original option is what the official Docker documentation recommends for Ubuntu, so we should stick with it.
|
||
sudo apt-get install -y docker-ce | ||
sudo usermod -a -G docker ubuntu | ||
sudo apt install -y default-jdk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to install Java?