e0ad7be0d4
- update to 0.10.0 - support relative paths by taking them relative to the value of /augeas/context in all API functions where paths are used - add aug_to_xml to API: transform tree(s) into XML, exposed as dump-xml in aug_srun and augtool. Introduces dependency on libxml2 - fix regular expression escaping. Previously, /[/]/ match either a backslash or a slash. Now it only matches a slash - path expressions: add function 'int' to convert a node value (string) to an integer - path expressions: make sure the regexp produced by empty nodesets from regexp() and glob() matches nothing, rather than the empty word - fix --autosave when running single command from command line, BZ 743023 - aug_srun: support 'insert' and 'move' as aliases for 'ins' and 'mv' - aug_srun: allow escaping of spaces, quotes and brackets with \ - aug_init: accept AUG_NO_ERR_CLOSE flag; return augeas handle even when initialization fails so that caller gets some details about why initialization failed - aug_srun: tolerate trailing white space in commands - much improved, expanded documentation of many lenses - always interpret lens filter paths as absolute, bug #238 - fix bug in libfa that would incorrectly calculate the difference of a case sensistive and case insensitive regexp (/[a-zA-Z]+/ - /word/i would match 'worD') - new builtin 'regexp_match' for .aug files to make testing regexp matching easier during development - fix 'span' command, bug #220 - Lens changes/additions * Access: parse user@host and (group) in users field; field separator need not be surrounded by spaces * Aliases: allow spaces before colons OBS-URL: https://build.opensuse.org/request/show/107526 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=32
171 lines
4.9 KiB
Diff
171 lines
4.9 KiB
Diff
diff --git a/lenses/shellvars.aug b/lenses/shellvars.aug
|
|
index faa0e72..722ab4b 100644
|
|
--- a/lenses/shellvars.aug
|
|
+++ b/lenses/shellvars.aug
|
|
@@ -189,6 +189,156 @@ module Shellvars =
|
|
sc_incl "xend" .
|
|
sc_incl "xendomains"
|
|
|
|
+ let filter_sysconfig_suse =
|
|
+ sc_incl "apcupsd" .
|
|
+ sc_incl "arpd" .
|
|
+ sc_incl "atftpd" .
|
|
+ sc_incl "automatic_online_update" .
|
|
+ sc_incl "debugfs" .
|
|
+ sc_incl "libvirt-guests" .
|
|
+ sc_incl "mcelog" .
|
|
+ sc_incl "oracle" .
|
|
+ sc_incl "pciback" .
|
|
+ sc_incl "puppetmasterd" .
|
|
+ sc_incl "racoon" .
|
|
+ sc_incl "snapper" .
|
|
+ sc_incl "tomcat6" .
|
|
+ sc_incl "xencommons" .
|
|
+ sc_incl "xsp2" .
|
|
+ sc_incl "abuild" .
|
|
+ sc_incl "add-on-creator" .
|
|
+ sc_incl "amavis" .
|
|
+ sc_incl "amazon" .
|
|
+ sc_incl "apache2" .
|
|
+ sc_incl "argus" .
|
|
+ sc_incl "arpwatch" .
|
|
+ sc_incl "atd" .
|
|
+ sc_incl "auditd" .
|
|
+ sc_incl "autoinstall" .
|
|
+ sc_incl "autoupdate" .
|
|
+ sc_incl "backup" .
|
|
+ sc_incl "bigsister" .
|
|
+ sc_incl "bluetooth" .
|
|
+ sc_incl "boot" .
|
|
+ sc_incl "bootloader" .
|
|
+ sc_incl "bootsplash" .
|
|
+ sc_incl "cgred" .
|
|
+ sc_incl "console" .
|
|
+ sc_incl "cron" .
|
|
+ sc_incl "ctdb" .
|
|
+ sc_incl "cups" .
|
|
+ sc_incl "ddclient" .
|
|
+ sc_incl "dhcpd" .
|
|
+ sc_incl "dhcrelay" .
|
|
+ sc_incl "displaymanager" .
|
|
+ sc_incl "dmraid" .
|
|
+ sc_incl "dracd" .
|
|
+ sc_incl "esound" .
|
|
+ sc_incl "fam" .
|
|
+ sc_incl "festival" .
|
|
+ sc_incl "fetchmail" .
|
|
+ sc_incl "fonts-config" .
|
|
+ sc_incl "git-daemon" .
|
|
+ sc_incl "gpsd" .
|
|
+ sc_incl "hardware" .
|
|
+ sc_incl "hardware/*" .
|
|
+ sc_incl "icecream" .
|
|
+ sc_incl "ide" .
|
|
+ sc_incl "infiniband" .
|
|
+ sc_incl "inputattach" .
|
|
+ sc_incl "ipmi" .
|
|
+ sc_incl "ipvsadm" .
|
|
+ sc_incl "ispell" .
|
|
+ sc_incl "joystick" .
|
|
+ sc_incl "kernel" .
|
|
+ sc_incl "kernel-tunables" .
|
|
+ sc_incl "language" .
|
|
+ sc_incl "ldap" .
|
|
+ sc_incl "lighttpd" .
|
|
+ sc_incl "lirc" .
|
|
+ sc_incl "locate" .
|
|
+ sc_incl "lvm" .
|
|
+ sc_incl "mail" .
|
|
+ sc_incl "mailman" .
|
|
+ sc_incl "mdadm" .
|
|
+ sc_incl "media-changer" .
|
|
+ sc_incl "memcached" .
|
|
+ sc_incl "mouse" .
|
|
+ sc_incl "mpi-selector" .
|
|
+ sc_incl "mysql" .
|
|
+ sc_incl "nagios" .
|
|
+ sc_incl "named" .
|
|
+ sc_incl "ncpfs" .
|
|
+ sc_incl "net-snmp" .
|
|
+ sc_incl "network/config" .
|
|
+ sc_incl "network/dhcp" .
|
|
+ sc_incl "network/dhcp6r" .
|
|
+ sc_incl "network/dhcp6s" .
|
|
+ sc_incl "network/ifcfg-*" .
|
|
+ sc_incl "network/if-down.d/*" .
|
|
+ sc_incl "network/ifroute-*" .
|
|
+ sc_incl "network/if-up.d/*" .
|
|
+ sc_incl "network/providers/*" .
|
|
+ sc_incl "news" .
|
|
+ sc_incl "ntp" .
|
|
+ sc_incl "obs-server" .
|
|
+ sc_incl "obs-worker" .
|
|
+ sc_incl "openldap" .
|
|
+ sc_incl "opensm" .
|
|
+ sc_incl "osa-dispatcher" .
|
|
+ sc_incl "pm-profiler" .
|
|
+ sc_incl "portmap" .
|
|
+ sc_incl "postfix" .
|
|
+ sc_incl "postgresql" .
|
|
+ sc_incl "product-creator" .
|
|
+ sc_incl "proxy" .
|
|
+ sc_incl "ptpd" .
|
|
+ sc_incl "radvd" .
|
|
+ sc_incl "readonlyroot" .
|
|
+ sc_incl "rpcbind" .
|
|
+ sc_incl "sapconf" .
|
|
+ sc_incl "scpm" .
|
|
+ sc_incl "seccheck" .
|
|
+ sc_incl "security" .
|
|
+ sc_incl "services" .
|
|
+ sc_incl "shutdown" .
|
|
+ sc_incl "smt-client" .
|
|
+ sc_incl "sound" .
|
|
+ sc_incl "spamd" .
|
|
+ sc_incl "squid" .
|
|
+ sc_incl "ssh" .
|
|
+ sc_incl "storage" .
|
|
+ sc_incl "SuSEfirewall2" .
|
|
+ sc_incl "SuSEfirewall2.d/cobbler" .
|
|
+ sc_incl "SuSEfirewall2.d/services/*" .
|
|
+ sc_incl "susehelp" .
|
|
+ sc_incl "suse_register" .
|
|
+ sc_incl "sysctl" .
|
|
+ sc_incl "syslog" .
|
|
+ sc_incl "texlive" .
|
|
+ sc_incl "ulimit" .
|
|
+ sc_incl "websphere-as_ce-2.1" .
|
|
+ sc_incl "windowmanager" .
|
|
+ sc_incl "wondershaper" .
|
|
+ sc_incl "words" .
|
|
+ sc_incl "yast2" .
|
|
+ sc_incl "ypbind" .
|
|
+ sc_incl "ypserv"
|
|
+
|
|
+ let filter_sysconfig_rhn =
|
|
+ sc_incl "rhn/allowed-actions/*" .
|
|
+ sc_incl "rhn/allowed-actions/script/*" .
|
|
+ sc_incl "rhn/clientCaps.d/*" .
|
|
+ sc_incl "rhn/osad-auth.conf" .
|
|
+ sc_incl "rhn/osad.conf" .
|
|
+ sc_incl "rhn/rhncfg-client.conf" .
|
|
+ sc_incl "rhn/rhncfg-manager.conf" .
|
|
+ sc_incl "rhn/rhnpushrc" .
|
|
+ sc_incl "rhn/rhnsd" .
|
|
+ sc_incl "rhn/up2date" .
|
|
+ sc_incl "rhn/virt" .
|
|
+ sc_incl "rhn/virt/auto"
|
|
+
|
|
let filter_ifcfg = incl "/etc/sysconfig/network-scripts/ifcfg-*"
|
|
. incl "/etc/sysconfig/network/ifcfg-*"
|
|
let filter_default = incl "/etc/default/*"
|
|
@@ -198,6 +348,8 @@ module Shellvars =
|
|
. incl "/etc/blkid.conf"
|
|
|
|
let filter = filter_sysconfig
|
|
+ . filter_sysconfig_suse
|
|
+ . filter_sysconfig_rhn
|
|
. filter_ifcfg
|
|
. filter_default
|
|
. filter_misc
|