Skip to content

Commit e40f101

Browse files
author
vsnyc
committed
Beautified templates
1 parent 089cbd5 commit e40f101

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

templates/ibm-spectrum-scale-master.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,4 +646,4 @@
646646
}
647647
}
648648
}
649-
}
649+
}

templates/ibm-spectrum-scale.template

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@
150150
"Type": "String"
151151
},
152152
"BastionSecurityGroupID": {
153-
"Description": "ID of the bastion host security group id to enable SSH connections (e.g. sg-5f16e910).",
153+
"Description": "ID of the bastion host security group id to enable SSH connections (e.g. sg-5f16e910).",
154154
"Type": "AWS::EC2::SecurityGroup::Id",
155155
"MinLength": "1",
156156
"ConstraintDescription": "Must be a valid bastion host security group id (e.g. sg-5f16e910)."
157-
},
157+
},
158158
"BlockSize": {
159159
"Description": "File system block size.",
160160
"Type": "String",
@@ -924,7 +924,7 @@
924924
"fi\n",
925925
"\n",
926926
"RUNNING=False\n",
927-
"ec2-describe-instances --filter instance.group-id=$ServerSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_server.out\n",
927+
"ec2-describe-instances --filter instance.group-id=$ServerSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_server.out\n",
928928
"sleep $wait\n",
929929
"ec2-describe-instances --filter instance.group-id=$ComputeSG | grep INSTANCE | awk '{print $2,$4,$5,$9,$10,$12}' > /var/log/instance_compute.out\n",
930930
"SerNodeCount=$(cat /var/log/instance_server.out | grep running | wc -l)\n",
@@ -1899,7 +1899,6 @@
18991899
},
19001900
"\n",
19011901
"echo ReplaceUnhealthy process suspended from compute autoscaling group\n"
1902-
19031902
]
19041903
]
19051904
}
@@ -1932,15 +1931,15 @@
19321931
},
19331932
"\n",
19341933
"echo Fs1 fileSystem successfully mounted..\n"
1935-
]
1936-
]
1937-
}
1938-
},
1939-
"10_gpfs_verifications": {
1934+
]
1935+
]
1936+
}
1937+
},
1938+
"10_gpfs_verifications": {
19401939
"command": {
19411940
"Fn::Join": [
19421941
"",
1943-
[
1942+
[
19441943
"echo ----Lets do some verification test---\n",
19451944
"/usr/lpp/mmfs/bin/mmgetstate -a",
19461945
"\n",
@@ -1981,7 +1980,9 @@
19811980
{
19821981
"DeviceName": "/dev/sda1",
19831982
"Ebs": {
1984-
"VolumeSize": { "Ref": "DiskSize" },
1983+
"VolumeSize": {
1984+
"Ref": "DiskSize"
1985+
},
19851986
"VolumeType": "gp2"
19861987
}
19871988
}
@@ -2579,7 +2580,9 @@
25792580
{
25802581
"DeviceName": "/dev/sda1",
25812582
"Ebs": {
2582-
"VolumeSize": { "Ref": "DiskSize" },
2583+
"VolumeSize": {
2584+
"Ref": "DiskSize"
2585+
},
25832586
"VolumeType": "gp2"
25842587
}
25852588
}
@@ -2720,4 +2723,4 @@
27202723
"Description": "Stack Name"
27212724
}
27222725
}
2723-
}
2726+
}

0 commit comments

Comments
 (0)