This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Sat Jun 28 12:54:40 -0700 2008 | [atmos] |
| |
README | Sat Jun 28 13:02:42 -0700 2008 | [atmos] |
| |
Rakefile | Sat Jun 28 13:02:42 -0700 2008 | [atmos] |
| |
TODO | Sat Jun 28 12:54:40 -0700 2008 | [atmos] |
| |
keepalived_dot_conf.gemspec | Sat Jun 28 13:02:42 -0700 2008 | [atmos] |
| |
lib/ | Sat Jun 28 12:59:23 -0700 2008 | [atmos] |
| |
script/ | Sat Jun 28 12:54:40 -0700 2008 | [atmos] |
| |
spec/ | Sat Jun 28 12:59:23 -0700 2008 | [atmos] |
README
keepalived_dot_conf
===================
A gem that provides parsing of keepalived's config file
usage
=====
mpro% irb
>> require 'lib/keepalived_dot_conf'
=> true
>> require 'pp'
=> true
>> pp KeepAlived::Parser.new.parse(File.read("spec/fixtures/keepalived.conf")).eval({})[:virtual_servers].first
#<KeepAlivedConfigFile::AST::VirtualServer:0x12f8108
@delay_loop="6",
@ip="192.168.0.1",
@lb_algo="lc",
@lb_kind="NAT",
@nat_mask="255.255.255.0",
@persistence_timeout="0",
@port="80",
@protocol="TCP",
@sorry_server=
#<KeepAlivedConfigFile::AST::IpMapping:0x12f8068
@ip="127.0.0.1",
@port="80">,
@virtualhost=nil>
=> nil




