# Keepalived

Parses /etc/ld.so.conf and /etc/ld.so.conf.d/*

Author: Raphael Pinson rap.nosp@m.hink@gmai.nosp@m.l.com

Summary

Keepalived | Parses /etc/ld.so.conf and /etc/ld.so.conf.d/*
License | This file is licenced under the LGPL v2+, like the rest of Augeas.
Lens Usage | To be documented
Configuration files | This lens applies to /etc/ld.so.conf and /etc/ld.so.conf.d/*.
Examples | The Test_Ldso file contains various examples and tests.
Augeas Lenses |
path |
include |
hwcap |
lns |
Augeas Variables |
filter |

### License

This file is licenced under the LGPL v2+, like the rest of Augeas.

### Lens Usage

To be documented

### Configuration files

This lens applies to /etc/ld.so.conf and /etc/ld.so.conf.d/*. See filter.

### Examples

The Test_Ldso file contains various examples and tests.

### Augeas Lenses

### path

> let path = [ label "path" . store /[^# \t\n][^ \t\n]*/ . Util.eol ]

### include

> let include = Build.key_value_line "include" Sep.space (store Rx.fspath)

### hwcap

> let hwcap = let hwcap_val = [ label "bit" . store Rx.integer ] . Sep.space . [ label "name" . store Rx.word ] in Build.key_value_line "hwcap" Sep.space hwcap_val

### lns

> let lns = (Util.empty | Util.comment | path | include | hwcap)*

### Augeas Variables

### filter

Provides unit tests and examples for the Ldso lens.

> let path = [ label "path" . store /[^# \t\n][^ \t\n]*/ . Util.eol ]

> let include = Build.key_value_line "include" Sep.space (store Rx.fspath)

> let hwcap = let hwcap_val = [ label "bit" . store Rx.integer ] . Sep.space . [ label "name" . store Rx.word ] in Build.key_value_line "hwcap" Sep.space hwcap_val

> let lns = (Util.empty | Util.comment | path | include | hwcap)*

Close