From b5eae208900c790770a536be971882634968228d Mon Sep 17 00:00:00 2001 From: "Patrick F. Marques" Date: Sun, 5 Nov 2017 12:28:41 +0000 Subject: [PATCH 1/2] Update READMEs --- README.md | 1 - examples/consul-image/README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 799bb28..6015deb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,6 @@ Terraform code that uses the [consul-cluster](https://github.com/hashicorp/terra module to deploy a [Consul](https://www.consul.io/) cluster in [Azure](https://azure.microsoft.com/) * [modules](https://github.com/hashicorp/terraform-azurerm-consul/tree/master/modules): This folder contains the reusable code for this Module, broken down into one or more modules. * [examples](https://github.com/hashicorp/terraform-azurerm-consul/tree/master/examples): This folder contains examples of how to use the modules. -* [test](https://github.com/hashicorp/terraform-azurerm-consul/test): Automated tests for the modules and examples. To deploy Consul servers using this Module: diff --git a/examples/consul-image/README.md b/examples/consul-image/README.md index e449de8..10c7809 100644 --- a/examples/consul-image/README.md +++ b/examples/consul-image/README.md @@ -27,7 +27,7 @@ To build the Consul Image: 1. Run `packer build consul.json`. When the build finishes, it will output the IDs of the new AMIs. To see how to deploy one of these Images, check out the -[consul-cluster example](https://github.com/hashicorp/terraform-azurerm-consul/tree/master/examples/consul-cluster). +[consul-cluster example](https://github.com/hashicorp/terraform-azurerm-consul/tree/master/). From d83aa5e9f41ff266419d58da156854aaf87ce9df Mon Sep 17 00:00:00 2001 From: "Patrick F. Marques" Date: Sun, 5 Nov 2017 14:31:01 +0000 Subject: [PATCH 2/2] Fix consult in-line script --- examples/consul-image/consul.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/consul-image/consul.json b/examples/consul-image/consul.json index efe5f8d..a22a0e0 100644 --- a/examples/consul-image/consul.json +++ b/examples/consul-image/consul.json @@ -41,8 +41,8 @@ "apt-get update && apt-get install -y libssl-dev libffi-dev python-dev build-essential apt-transport-https azure-cli", "DEBIAN_FRONTEND=noninteractive apt-get -y upgrade", - "/tmp/terraform-azurerm-consul/tree/master/modules/install-consul/install-consul --version {{user `consul_version`}}", - "/tmp/terraform-azurerm-consul/tree/master/modules/install-dnsmasq/install-dnsmasq", + "/tmp/terraform-azurerm-consul/modules/install-consul/install-consul --version {{user `consul_version`}}", + "/tmp/terraform-azurerm-consul/modules/install-dnsmasq/install-dnsmasq", "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "inline_shebang": "/bin/sh -x",