Skip to content

Commit ca72981

Browse files
author
Sean Smith
authored
Merge pull request #20 from alfred-stokespace/patch-1
Pcluster 2.11.4 uses a different cfn_node_type
2 parents 101b851 + eaf0342 commit ca72981

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parallelcluster-setup/install-monitoring.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo "$> variable monitoring_home -> ${monitoring_home}"
2626

2727

2828
case "${cfn_node_type}" in
29-
HeadNode)
29+
HeadNode | MasterServer)
3030

3131
#cfn_efs=$(cat /etc/chef/dna.json | grep \"cfn_efs\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")
3232
#cfn_cluster_cw_logging_enabled=$(cat /etc/chef/dna.json | grep \"cfn_cluster_cw_logging_enabled\" | awk '{print $2}' | sed "s/\",//g;s/\"//g")

post-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup_command=${cfn_postinstall_args[2]}
1717
monitoring_home="/home/${cfn_cluster_user}/${monitoring_dir_name}"
1818

1919
case ${cfn_node_type} in
20-
HeadNode)
20+
HeadNode | MasterServer)
2121
wget ${monitoring_url} -O ${monitoring_tarball}
2222
mkdir -p ${monitoring_home}
2323
tar xvf ${monitoring_tarball} -C ${monitoring_home} --strip-components 1

0 commit comments

Comments
 (0)