Apt_Update_Manager - Augeas Documentation

# Apt_Update_Manager

Parses files in /etc/update-manager

Author: Raphael Pinson raphael.nosp@m..pinson@camptoc.nosp@m.amp.com

Summary

Apt_Update_Manager | Parses files in /etc/update-manager
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 files in /etc/update-manager.
Examples | The Test_Apt_Update_Manager file contains various examples and tests.
Augeas Lenses |
comment |
sep |
title |
entry |
record |
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 files in /etc/update-manager. See filter.

### Examples

The Test_Apt_Update_Manager file contains various examples and tests.

### Augeas Lenses

### comment

> let comment = IniFile.comment IniFile.comment_re IniFile.comment_default

### sep

> let sep = IniFile.sep IniFile.sep_re IniFile.sep_default

### title

> let title = IniFile.title Rx.word

### entry

> let entry = IniFile.entry Rx.word sep comment

### record

> let record = IniFile.record title entry

### lns

> let lns = IniFile.lns record comment

### Augeas Variables

### filter

Provides unit tests and examples for the Apt_Update_Manager lens.

> let comment = IniFile.comment IniFile.comment_re IniFile.comment_default

> let sep = IniFile.sep IniFile.sep_re IniFile.sep_default

> let title = IniFile.title Rx.word

> let entry = IniFile.entry Rx.word sep comment

> let record = IniFile.record title entry

> let lns = IniFile.lns record comment

Close