demo: apply hclfmt to ceph files

This commit is contained in:
Seth Hoenig
2021-05-03 09:27:26 -06:00
parent 8fc3411051
commit bdf734fea9
4 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
# processes in a single task and doesn't will not persist data after a restart
variable "cluster_id" {
type = string
type = string
# generated from uuid5(dns) with ceph.example.com as the seed
default = "e9ba69fa-67ff-5920-b374-84d5801edd19"
description = "cluster ID for the Ceph monitor"
@@ -40,10 +40,10 @@ job "ceph" {
port = 5000
check {
type = "http"
interval = "5s"
timeout = "1s"
path = "/"
type = "http"
interval = "5s"
timeout = "1s"
path = "/"
initial_status = "warning"
}
}

View File

@@ -1,5 +1,5 @@
variable "cluster_id" {
type = string
type = string
# generated from uuid5(dns) with ceph.example.com as the seed
default = "e9ba69fa-67ff-5920-b374-84d5801edd19"
description = "cluster ID for the Ceph monitor"
@@ -54,7 +54,7 @@ job "plugin-cephrbd-controller" {
]
network_mode = "host"
ports = ["prometheus"]
ports = ["prometheus"]
# we need to be able to write key material to disk in this location
mount {

View File

@@ -1,5 +1,5 @@
variable "cluster_id" {
type = string
type = string
# generated from uuid5(dns) with ceph.example.com as the seed
default = "e9ba69fa-67ff-5920-b374-84d5801edd19"
description = "cluster ID for the Ceph monitor"
@@ -77,7 +77,7 @@ EOT
# ceph configuration file
template {
data = <<EOF
data = <<EOF
[{
"clusterID": "${var.cluster_id}",
"monitors": [

View File

@@ -35,7 +35,7 @@ secrets {
parameters {
# seeded from uuid5(ceph.example.com)
clusterID = "e9ba69fa-67ff-5920-b374-84d5801edd19"
clusterID = "e9ba69fa-67ff-5920-b374-84d5801edd19"
pool = "rbd"
imageFeatures = "layering"
}