Repository: vcl Updated Branches: refs/heads/develop f822f8cf3 -> 6741fa48d
fixed tabing in run_stage_scripts_on_management_node Project: http://git-wip-us.apache.org/repos/asf/vcl/repo Commit: http://git-wip-us.apache.org/repos/asf/vcl/commit/6741fa48 Tree: http://git-wip-us.apache.org/repos/asf/vcl/tree/6741fa48 Diff: http://git-wip-us.apache.org/repos/asf/vcl/diff/6741fa48 Branch: refs/heads/develop Commit: 6741fa48d6e3d9f7cb4ee8c01328aebe41c566aa Parents: f822f8c Author: Josh Thompson <[email protected]> Authored: Wed Jun 6 11:21:34 2018 -0400 Committer: Josh Thompson <[email protected]> Committed: Wed Jun 6 11:21:34 2018 -0400 ---------------------------------------------------------------------- .../lib/VCL/Module/OS/Linux/ManagementNode.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/vcl/blob/6741fa48/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm ---------------------------------------------------------------------- diff --git a/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm b/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm index 81ab669..c3d0b6b 100644 --- a/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm +++ b/managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm @@ -508,13 +508,13 @@ sub run_stage_scripts_on_management_node { notify($ERRORS{'DEBUG'}, 0, "ignoring file on management node because it resides under intermediate directory '$matching_section': $script_file_path"); next; } - - # Ignore the .gitignore files - if ($script_file_path =~ /\.gitignore/i) { - my $matching_section = $1; - notify($ERRORS{'DEBUG'}, 0, "ignoring gitignore file on management node from script directory '$matching_section': $script_file_path"); - next; - } + + # Ignore the .gitignore files + if ($script_file_path =~ /\.gitignore/i) { + my $matching_section = $1; + notify($ERRORS{'DEBUG'}, 0, "ignoring gitignore file on management node from script directory '$matching_section': $script_file_path"); + next; + } my $command = "chmod +x $script_file_path && $script_file_path $mn_json_file_path"; my ($exit_status, $output) = $self->execute($command);
