We have config archival activated but no source address defined.
When you do a committhe following error appears:
Use of uninitialized value $source_address in concatenation (.) or string at /etc/commit/post-hooks.d/02vyatta-commit-push.pl line 78.
When I have a look at that part of the file it looks the following:
my $source_address = $config->returnEffectiveValue('source-address'); # If so, we're going to pass that to the Python funcall. if (defined($source_address)) { print("Using source address $source_address\n"); } # The string needs to be wrapped in quotes, even if it's empty. $source_address = '"' . $source_address . '"';
The last line is the one which brings up the error.
In my opinion the code should be corrected:
my $source_address = $config->returnEffectiveValue('source-address'); # If so, we're going to pass that to the Python funcall. if (defined($source_address)) { print("Using source address $source_address\n"); $source_address = '"' . $source_address . '"'; } else { # The string needs to be wrapped in quotes, even if it's empty. $source_address = '""'; }