Projects / Augeas / Comments

Comments for Augeas

17 Aug 2010 12:46 mthauth

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

30 Mar 2009 22:38 lutter

Great tool for reading and changing configuration files from programs

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.