Skip to content

Commit

Permalink
Removed unnecessary ES/Consul/Beats things (in AMI now), and removed …
Browse files Browse the repository at this point in the history
…from model.
  • Loading branch information
Pete DiBona committed Oct 16, 2023
1 parent 1fc3491 commit a82a4d0
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 150 deletions.
52 changes: 0 additions & 52 deletions zititest/models/db-creation/actions/start.go

This file was deleted.

24 changes: 0 additions & 24 deletions zititest/models/db-creation/configs/consul.hcl

This file was deleted.

8 changes: 0 additions & 8 deletions zititest/models/db-creation/configs/elasticsearch.repo

This file was deleted.

53 changes: 0 additions & 53 deletions zititest/models/db-creation/configs/metricbeat.yml

This file was deleted.

15 changes: 2 additions & 13 deletions zititest/models/db-creation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,8 @@ var m = &model.Model{

Actions: model.ActionBinders{
"bootstrap": actions.NewBootstrapAction(),
"start": actions.NewStartAction(actions.MetricbeatConfig{
ConfigPath: "metricbeat",
DataPath: "metricbeat/data",
LogPath: "metricbeat/logs",
},
actions.ConsulConfig{
ServerAddr: os.Getenv("CONSUL_ENDPOINT"),
ConfigDir: "consul",
DataPath: "consul/data",
LogPath: "consul/log.out",
}),
"stop": model.Bind(component.StopInParallel("ctrl", 1)),
"login": model.Bind(edge.Login("#ctrl")),
"stop": model.Bind(component.StopInParallel("ctrl", 1)),
"login": model.Bind(edge.Login("#ctrl")),
},

Infrastructure: model.Stages{
Expand Down

0 comments on commit a82a4d0

Please sign in to comment.