[augeas-devel] Patch: more generic shellvars lense

mike.hauth at dfs.de mike.hauth at dfs.de
Wed Aug 18 13:19:53 UTC 2010


Hi everybody,
i want to commit a patch for the shellvars lense. 
By convention all files in /etc/sysconfig/ should be files with shell 
variable syntax. So it will be fine, if all (*) files would be included. 
Also Novells SUSE's distributions locate their network setup 
configurations in /etc/sysconfig/network, instead of network-scripts.
My diff against 0.5.3 is appended: 
47,92c47,48 
< let sc_incl (n:string) = (incl ("/etc/sysconfig/" . n)) 
< let filter_sysconfig = 
< sc_incl "atd" . 
< sc_incl "authconfig" . 
< sc_incl "autofs" . 
< sc_incl "clock" . 
< sc_incl "cpuspeed" . 
< sc_incl "crond" . 
< sc_incl "crontab" . 
< sc_incl "desktop" . 
< sc_incl "firstboot" . 
< sc_incl "grub" . 
< sc_incl "hsqldb" . 
< sc_incl "httpd" . 
< sc_incl "i18n" . 
< sc_incl "init" . 
< sc_incl "iptables-config" . 
< sc_incl "irda" . 
< sc_incl "irqbalance" . 
< sc_incl "kdump" . 
< sc_incl "kernel" . 
< sc_incl "keyboard" . 
< sc_incl "kudzu" . 
< sc_incl "libvirtd" . 
< sc_incl "lircd" . 
< sc_incl "nasd" . 
< sc_incl "netconsole" . 
< sc_incl "network" . 
< sc_incl "nfs" . 
< sc_incl "ntpd" . 
< sc_incl "prelink" . 
< sc_incl "readonly-root" . 
< sc_incl "rsyslog" . 
< sc_incl "samba" . 
< sc_incl "saslauthd" . 
< sc_incl "selinux" . 
< sc_incl "sendmail" . 
< sc_incl "smartmontools" . 
< sc_incl "spamassassin" . 
< sc_incl "sysstat" . 
< sc_incl "system-config-users" . 
< sc_incl "vncservers" . 
< sc_incl "wpa_supplicant" . 
< sc_incl "xend" . 
< sc_incl "xendomains" 
< 
--- 
> let filter_sysconfig = incl "/etc/sysconfig/*" 
> let filter_ifcfg_suse = incl "/etc/sysconfig/network/ifcfg-*" 
97a54 
> . filter_ifcfg_suse
Thanks! 
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20100818/ddc219c5/attachment.htm>
-------------- next part --------------


DFS Deutsche Flugsicherung GmbH
Am DFS-Campus 10
D - 63225 Langen

Tel.: +49-(0)6103-707-0 

Sitz der Gesellschaft: Langen/Hessen
Zust?ndiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Prof. Klaus-Dieter Scheurle
Gesch?ftsf?hrer: Dieter Kaden (Vors.), Ralph Riedle, Jens Bergmann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc


More information about the augeas-devel mailing list