Skip to content

Commit c0556ec

Browse files
committed
use full master FQDN when mounting nfs
Signed-off-by: Francesco De Martino <fdm@amazon.com>
1 parent ad4fe59 commit c0556ec

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

recipes/_compute_base_config.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
node.default['cfncluster']['cfn_master'] = node['cfncluster']['cfn_master'].split('.')[0]
17-
1816
nfs_master = node['cfncluster']['cfn_master']
1917

2018
# Mount EFS directory with efs_mount recipe

recipes/_compute_sge_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Mount /opt/sge over NFS
17-
nfs_master = node['cfncluster']['cfn_master'].split('.')[0]
17+
nfs_master = node['cfncluster']['cfn_master']
1818
mount '/opt/sge' do
1919
device "#{nfs_master}:/opt/sge"
2020
fstype "nfs"

recipes/_compute_slurm_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Mount /opt/slurm over NFS
17-
nfs_master = node['cfncluster']['cfn_master'].split('.')[0]
17+
nfs_master = node['cfncluster']['cfn_master']
1818
mount '/opt/slurm' do
1919
device "#{nfs_master}:/opt/slurm"
2020
fstype "nfs"

0 commit comments

Comments
 (0)