From ea5833eed0b18d6e975e77bca4b118cc8e12f9bd Mon Sep 17 00:00:00 2001 From: Greg Althaus Date: Tue, 10 Oct 2017 10:16:52 -0500 Subject: [PATCH] Add some descriptions to the terraform pieces. --- terraform/params/terraform.allocated.json | 1 + terraform/params/terraform.managed.json | 1 + terraform/params/terraform.owner.json | 1 + terraform/params/terraform.poweroff.json | 1 + terraform/profiles/terraform-managed.json | 1 + terraform/stages/terraform-ready.yaml | 5 +++-- 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/terraform/params/terraform.allocated.json b/terraform/params/terraform.allocated.json index 09bc716..707bfad 100644 --- a/terraform/params/terraform.allocated.json +++ b/terraform/params/terraform.allocated.json @@ -1,5 +1,6 @@ { "Name": "terraform/allocated", + "Description": "Indicates if this machine has been allocated by terraform", "Schema": { "type": "boolean" }, diff --git a/terraform/params/terraform.managed.json b/terraform/params/terraform.managed.json index e5dc7c3..666e46a 100644 --- a/terraform/params/terraform.managed.json +++ b/terraform/params/terraform.managed.json @@ -1,5 +1,6 @@ { "Name": "terraform/managed", + "Description": "Indicates if this machine can be managed by terraform", "Schema": { "type": "boolean" }, diff --git a/terraform/params/terraform.owner.json b/terraform/params/terraform.owner.json index e9dc56c..85ebd8f 100644 --- a/terraform/params/terraform.owner.json +++ b/terraform/params/terraform.owner.json @@ -1,5 +1,6 @@ { "Name": "terraform/owner", + "Description": "Helper parameter that indicates who allocated this machine", "Schema": { "type": "string" }, diff --git a/terraform/params/terraform.poweroff.json b/terraform/params/terraform.poweroff.json index d291c5c..0ee5d3a 100644 --- a/terraform/params/terraform.poweroff.json +++ b/terraform/params/terraform.poweroff.json @@ -1,5 +1,6 @@ { "Name": "terraform/poweroff", + "Description": "Indicates whether the machine should be powered off while awaiting allocation by terraform", "Schema": { "type": "boolean" }, diff --git a/terraform/profiles/terraform-managed.json b/terraform/profiles/terraform-managed.json index 4540fe6..26539bc 100644 --- a/terraform/profiles/terraform-managed.json +++ b/terraform/profiles/terraform-managed.json @@ -1,5 +1,6 @@ { "Name": "terraform-managed", + "Description": "Example base state for machines wanting to be managed by terraform", "Params": { "terraform/managed": true, "terraform/allocated": false diff --git a/terraform/stages/terraform-ready.yaml b/terraform/stages/terraform-ready.yaml index a38d789..4bc8dcb 100644 --- a/terraform/stages/terraform-ready.yaml +++ b/terraform/stages/terraform-ready.yaml @@ -1,9 +1,10 @@ --- Name: "terraform-ready" BootEnv: "sledgehammer" +Description: "marks a machine as managed by terraform and ready for allocation" Tasks: - "terraform-enable" Meta: icon: "map outline" - color: green - title: "RackN Content" \ No newline at end of file + color: "green" + title: "RackN Content"