summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2022-06-23 16:04:56 +0300
committerSergey Poznyakoff <gray@gnu.org>2022-06-23 16:04:56 +0300
commit2ad2fa736e9d6b2af945ab3df7d518ce436ce0d3 (patch)
treeb50b223376194643c8d694ed5a63c5656ccdd587
parentc3a00becf8ed92bd1ed34a249fb905f862bfac4c (diff)
downloadconfig-haproxy-master.tar.gz
config-haproxy-master.tar.bz2
Version 1.08HEADv1.08master
-rw-r--r--Changes5
-rw-r--r--lib/Config/HAProxy.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/Changes b/Changes
index d0f70d4..a7f1b78 100644
--- a/Changes
+++ b/Changes
@@ -1,14 +1,19 @@
Revision history for Perl extension Config::HAProxy.
+1.08 Thu Jun 23 15:21:17 2022
+ - Handle the 'resolvers' section.
+ - New class methods for declaring (and undeclaring) sections.
+ - Fix changing the argv of a Node.
+
1.06 Fri Feb 12 20:37:32 2021
- Change bugtracker address.
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
diff --git a/lib/Config/HAProxy.pm b/lib/Config/HAProxy.pm
index 3e2f4f9..f220051 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.06';
+our $VERSION = '1.08';
my %sections = (
global => 1,
defaults => 1,
frontend => 1,
backend => 1,
resolvers => 1
);
sub new {
my $class = shift;
my $filename = shift // '/etc/haproxy/haproxy.cfg';

Return to:

Send suggestions and report system problems to the System administrator.