Author: arkurth
Date: Fri Jul 7 18:31:22 2017
New Revision: 1801204
URL: http://svn.apache.org/viewvc?rev=1801204&view=rev
Log:
VCL-1059
Modified Linux.pm::reserve to call Linux.pm::configure_ext_sshd before
OS.pm::reserve.
Modified:
vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm
URL:
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm?rev=1801204&r1=1801203&r2=1801204&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm Fri Jul 7 18:31:22 2017
@@ -1284,12 +1284,13 @@ sub reserve {
# Do this before OS.pm::reserve calls add_user_accounts
$self->add_vcl_usergroup();
- $self->SUPER::reserve() || return;
-
# Configure sshd to only listen on the private interface and add
ext_sshd service listening on the public interface
# This needs to be done after update_public_ip_address is called from
OS.pm::reserve
$self->configure_ext_sshd() || return;
+ # Call OS.pm's reserve subroutine
+ $self->SUPER::reserve() || return;
+
# Attempt to mount NFS shares configured for the management node (Site
Configuration > NFS Mounts)
$self->mount_nfs_shares();