Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/atmos/keepalived_dot_conf

Parsing keepalived's configuration for reading and writing
https://github.com/atmos/keepalived_dot_conf

Last synced: 3 months ago
JSON representation

Parsing keepalived's configuration for reading and writing

Awesome Lists containing this project

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
#,
@virtualhost=nil>
=> nil