Skip to content

Commit 038d4e5

Browse files
committed
Using MasterServer PrivateIP for NFS mounts in cfnconfig
1 parent aa798b6 commit 038d4e5

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

cloudformation/cfncluster.cfn.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@
18191819
{
18201820
"Fn::GetAtt" : [
18211821
"MasterServer",
1822-
"PrivateDnsName"
1822+
"PrivateIp"
18231823
]
18241824
},
18251825
"\n",
@@ -2309,6 +2309,43 @@
23092309
]
23102310
},
23112311
"Condition" : "MasterPublicIp"
2312+
},
2313+
"GangliaPrivateURL" : {
2314+
"Description" : "Private URL to access Ganglia",
2315+
"Value" : {
2316+
"Fn:Join" : [
2317+
"",
2318+
[
2319+
"http://",
2320+
{
2321+
"Fn::GetAtt" : [
2322+
"MasterServer",
2323+
"PrivateIp"
2324+
]
2325+
},
2326+
"/ganglia/"
2327+
]
2328+
]
2329+
}
2330+
},
2331+
"GangliaPublicURL" : {
2332+
"Description" : "Public URL to access Ganglia",
2333+
"Value" : {
2334+
"Fn:Join" : [
2335+
"",
2336+
[
2337+
"http://",
2338+
{
2339+
"Fn::GetAtt" : [
2340+
"MasterServer",
2341+
"PublicIp"
2342+
]
2343+
},
2344+
"/ganglia/"
2345+
]
2346+
]
2347+
},
2348+
"Condition" : "MasterPublicIp"
23122349
}
23132350
}
23142351
}

0 commit comments

Comments
 (0)