Package: augeas-lenses
Version: 0.7.0-1
Severity: wishlist
File: /usr/share/augeas/lenses/dist/shellvars.aug

I am using augeas with puppet. I would like to add to each value
I control with pupet a short comment along the lines of "MANAGED BY
PUPPET". Unfortunately, augeas very strongly enforces a single value
rule, such that setting e.g. /files/etc/default/rcS/TMPTIME to any
of the following causes the save to fail:

  7 # MANAGED BY PUPPET
  "7 # MANAGED BY PUPPET"

The only way to make it work is with either of the following two:

  "'7 # MANAGED BY PUPPET'"
  7#MANAGED_BY_PUPPET

But both yield the wrong value: due to the quotes in the first, the
comment will be included, and due to the missing space before the #,
the comment is also considered part of the value.

I appreciate the stringent syntax checking, but I think that

  "7 # MANAGED BY PUPPET"

should be an acceptable value, because ' #' denotes a comment, which
I think augeas could tolerate/allow.

Thanks,

-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i686)

Kernel: Linux 2.6.33-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.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:
ii  libaugeas0                    0.7.0-1    The augeas configuration editing l

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to