2 Module: Apt_Update_Manager
3 Parses files in /etc/update-manager
5 Author: Raphael Pinson <raphael.pinson@camptocamp.com>
8 This file is licenced under the LGPL v2+, like the rest of Augeas.
13 About: Configuration files
14 This lens applies to files in /etc/update-manager. See <filter>.
17 The <Test_Apt_Update_Manager> file contains various examples and tests.
19 module Apt_Update_Manager =
24 let comment = IniFile.comment IniFile.comment_re IniFile.comment_default
27 let sep = IniFile.sep IniFile.sep_re IniFile.sep_default
30 let title = IniFile.title Rx.word
33 let entry = IniFile.entry Rx.word sep comment
36 let record = IniFile.record title entry
39 let lns = IniFile.lns record comment
41 (* Variable: filter *)
42 let filter = incl "/etc/update-manager/meta-release"
43 . incl "/etc/update-manager/release-upgrades"
44 . incl "/etc/update-manager/release-upgrades.d/*"
47 let xfm = transform lns filter