Skip to content

Commit

Permalink
example: elk - don't depend on module tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryane committed Sep 20, 2016
1 parent 75e6ac1 commit d9a8d3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/elk/converge/elk.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "docker.hcl" "docker" {
params = {
user-name = "{{param `user-name`}}"
}
depends = ["module.packages/task.epel-install"]
depends = ["module.packages"]
}

param "elasticsearch-data-directory" {
Expand All @@ -22,7 +22,7 @@ param "filebeat-service" {
task "filebeat-install" {
check = "yum list installed filebeat"
apply = "rpm -ivh https://download.elastic.co/beats/filebeat/filebeat-1.3.0-x86_64.rpm"
depends = ["module.docker/task.docker-install"]
depends = ["module.docker"]
}

file.content "filebeat-yml" {
Expand Down Expand Up @@ -86,7 +86,7 @@ file.directory "elasticsearch-data-directory" {
docker.image "elasticsearch-image" {
name = "elasticsearch"
tag = "2.4.0"
depends = ["module.docker/task.docker-start"]
depends = ["module.docker"]
}

docker.container "elasticsearch-container" {
Expand All @@ -102,7 +102,7 @@ docker.container "elasticsearch-container" {
docker.image "kibana-image" {
name = "kibana"
tag = "4.6.0"
depends = ["module.docker/task.docker-start"]
depends = ["module.docker"]
}

docker.container "kibana-container" {
Expand Down
Binary file modified examples/elk/graphs/elk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9a8d3f

Please sign in to comment.