Cachefilesd - Augeas Documentation

# Cachefilesd

Parses /etc/cachefilesd.conf

Author: Pat Riehecky rieh.nosp@m.ecky@fnal.nosp@m..gov

Summary

Cachefilesd | Parses /etc/cachefilesd.conf
Reference | This lens tries to keep as close as possible to `man 5 cachefilesd.conf` where possible.
License | This file is licenced under the LGPL v2+, like the rest of Augeas.
Lens Usage | See lns.
Configuration files | This lens applies to /etc/cachefilesd.conf.
Examples | The <Test_Cachefilesd> file contains various examples and tests.
USEFUL PRIMITIVES |
Comments and empty lines |
eol |
comment |
empty |
separators |
space | Separation between key and value
colon | Separation between selinux attributes
entries |
entry_key | The key for an entry in the config file
entry_value | The value for an entry may contain all sorts of things
nocull | The nocull key has different syntax than the rest
config |
cacheconfig | This is a simple “key value” setup
nocull | This is a either present, and therefore active or missing and not active
lns |

### Reference

This lens tries to keep as close as possible to `man 5 cachefilesd.conf` where possible.

### License

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

### Lens Usage

See lns.

### Configuration files

This lens applies to /etc/cachefilesd.conf.

### Examples

The <Test_Cachefilesd> file contains various examples and tests.

### USEFUL PRIMITIVES

### Comments and empty lines

### eol

> let eol = Util.eol

### comment

> let comment = Util.comment

### empty

> let empty = Util.empty

### separators

### space

> let space = Util.del_ws_spc

Separation between key and value

### colon

> let colon = Sep.colon

Separation between selinux attributes

### entries

### entry_key

> let entry_key = Rx.word

The key for an entry in the config file

### entry_value

> let entry_value = /[A-Za-z0-9_.-:%]+/

The value for an entry may contain all sorts of things

### nocull

> let nocull = /nocull/i

The nocull key has different syntax than the rest

### config

### cacheconfig

> let cacheconfig = [ key (entry_key - nocull) . space . store entry_value . eol ]

This is a simple “key value” setup

### nocull

> let nocull_entry = [ key nocull . eol ]

This is a either present, and therefore active or missing and not active

### lns

> let lns = (empty | comment | cacheconfig | nocull_entry)*

> let lns = (empty | comment | cacheconfig | nocull_entry)*

> let eol = Util.eol

> let comment = Util.comment

> let empty = Util.empty

> let space = Util.del_ws_spc

Separation between key and value

> let colon = Sep.colon

Separation between selinux attributes

> let entry_key = Rx.word

The key for an entry in the config file

> let entry_value = /[A-Za-z0-9_.-:%]+/

The value for an entry may contain all sorts of things

> let nocull = /nocull/i

The nocull key has different syntax than the rest

> let cacheconfig = [ key (entry_key - nocull) . space . store entry_value . eol ]

This is a simple “key value” setup
Close