summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2018-07-08 19:24:05 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-07-08 19:24:05 (GMT)
commit78ec9c89274273bd864089c3fb10f62319790dec (patch) (unidiff)
tree2795cfcdbb8c324aea9748cbacaecc85e95803d3
parent69ff9c1766ed89edf0ffdb63bf487396b6bd081b (diff)
downloadconfig-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.gz
config-haproxy-78ec9c89274273bd864089c3fb10f62319790dec.tar.bz2
Minor changes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--MANIFEST.SKIP1
-rw-r--r--README14
2 files changed, 8 insertions, 7 deletions
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index 3429457..c1d2412 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -60,3 +60,4 @@
60^\.emacs\.* 60^\.emacs\.*
61\.tar$ 61\.tar$
62\.tar\.gz$ 62\.tar\.gz$
63Config/HAProxy/VirtualHost.pm
diff --git a/README b/README
index 3330122..4e20984 100644
--- a/README
+++ b/README
@@ -7,16 +7,16 @@ searching, modifying and saving it to a file.
7 7
8EXAMPLE 8EXAMPLE
9 9
10 use Config::HAProxy; 10 use Config::HAProxy;
11 11
12 # Parse HAProxy configuration file 12 # Parse HAProxy configuration file
13 $cfg = Config::HAProxy->new->parse; 13 $cfg = Config::HAProxy->new->parse;
14 14
15 # Print IP addresses and ports of the configured backends 15 # Print IP addresses and ports of the configured backends
16 foreach my $srv (map { $_->select(name => 'server') } 16 foreach my $srv (map { $_->select(name => 'server') }
17 $cfg->tree->select(name => 'backend')) { 17 $cfg->tree->select(name => 'backend')) {
18 print $srv->arg(1),"\n"; 18 print $srv->arg(1),"\n";
19 } 19 }
20 20
21 21
22INSTALLATION 22INSTALLATION

Return to:

Send suggestions and report system problems to the System administrator.