Package: augeas-lenses
Version: 0.10.0-1~bpo60+3
Severity: normal

I need to add interfaces (eth0, eth1, ...) one at a time to INTERFACES in
/etc/default/isc-dhcp-server like so:

set /files/etc/default/isc-dhcp-server/INTERFACES/value[last()+1] eth0
set /files/etc/default/isc-dhcp-server/INTERFACES/value[last()+1] eth1
....

But /etc/default/isc-dhcp-server is parsed by shellvars.aug that only
allows to issue commands like:


set /files/etc/default/isc-dhcp-server/INTERFACES "\"eth0 eth1 ...\""



I tried to overcome this limitation with my own module that uses the lense 
defined
in shellvars_list.aug and solely includes "/etc/default/isc-dhcp-server". But 
then
neither the shellvars module nor my own one applies to the dhcp configuration 
file:
the configuration file is left ignored without any error messages.


Jens Hoffmann

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

augeas-lenses depends on no packages.

augeas-lenses recommends no packages.

Versions of packages augeas-lenses suggests:
pn  augeas-doc                    <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to