Skip to content

Commit

Permalink
Merge pull request #24 from rackn/add-desc
Browse files Browse the repository at this point in the history
Add some descriptions to the terraform pieces.
  • Loading branch information
galthaus authored Oct 10, 2017
2 parents bbbc9b0 + 1bd2d31 commit a3543ad
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions terraform/params/terraform.allocated.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Name": "terraform/allocated",
"Description": "Indicates if this machine has been allocated by terraform",
"Schema": {
"type": "boolean"
},
Expand Down
1 change: 1 addition & 0 deletions terraform/params/terraform.managed.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Name": "terraform/managed",
"Description": "Indicates if this machine can be managed by terraform",
"Schema": {
"type": "boolean"
},
Expand Down
1 change: 1 addition & 0 deletions terraform/params/terraform.owner.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Name": "terraform/owner",
"Description": "Helper parameter that indicates who allocated this machine",
"Schema": {
"type": "string"
},
Expand Down
1 change: 1 addition & 0 deletions terraform/params/terraform.poweroff.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"Name": "terraform/poweroff",
"Description": "Indicates whether the machine should be powered off while awaiting allocation by terraform",
"Schema": {
"type": "boolean"
},
Expand Down
1 change: 1 addition & 0 deletions terraform/profiles/terraform-managed.json
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions terraform/stages/terraform-ready.yaml
Original file line number Diff line number Diff line change
@@ -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"
color: "green"
title: "RackN Content"
4 changes: 4 additions & 0 deletions terraform/tasks/terraform-enable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Templates:
- ID: "terraform-enable.sh.tmpl"
Name: "The terraform enable script"
Path: ""
Meta:
icon: "map outline"
color: "blue"
title: "RackN Content"

0 comments on commit a3543ad

Please sign in to comment.