summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-05-27 14:01:09 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-05-27 14:01:34 +0300
commit06e76a65440a9ecc4d880ff597c8ad5439b7820d (patch)
treed17923525418f7514255161a093c1ed06998a711
parent271c2e2aa52dd2fc749b8c06aadf44c86ffbe205 (diff)
downloadconfig-haproxy-06e76a65440a9ecc4d880ff597c8ad5439b7820d.tar.gz
config-haproxy-06e76a65440a9ecc4d880ff597c8ad5439b7820d.tar.bz2
Config::HAProxy version 1.05v1.05
-rw-r--r--Changes3
-rw-r--r--lib/Config/HAProxy.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changes b/Changes
index ce9641c..0d0a1a9 100644
--- a/Changes
+++ b/Changes
@@ -1,14 +1,17 @@
Revision history for Perl extension Config::HAProxy.
+1.05 Mon May 27 13:59:57 2019
+ - unlink temporary file on error
+
1.04 Sun May 26 12:23:54 2019
- fix improper use of IPC::Cmd
1.03 Sun May 26 09:12:10 2019
- implement configuration syntax check
1.02 Mon Jul 16 07:38:31 2018
- remove the leftover use of autodie
1.01 Thu Jul 12 09:04:28 2018
- set minimal required Perl version
- drop dependency on autodie
diff --git a/lib/Config/HAProxy.pm b/lib/Config/HAProxy.pm
index 175e402..35e75b9 100644
--- a/lib/Config/HAProxy.pm
+++ b/lib/Config/HAProxy.pm
@@ -7,25 +7,25 @@ use Config::HAProxy::Node::Root;
use Config::HAProxy::Node::Section;
use Config::HAProxy::Node::Statement;
use Config::HAProxy::Node::Comment;
use Config::HAProxy::Node::Empty;
use Text::ParseWords;
use File::Basename;
use File::Temp qw(tempfile);
use File::stat;
use File::Spec;
use IPC::Cmd qw(run);
use Carp;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
my %sections = (
global => 1,
defaults => 1,
frontend => 1,
backend => 1,
);
sub new {
my $class = shift;
my $filename = shift // '/etc/haproxy/haproxy.cfg';
my $self = bless { _filename => $filename,

Return to:

Send suggestions and report system problems to the System administrator.