Package: ruby-augeas
Version: 1:0.5.0-3+b1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   Added an augeas entry for /etc/redis/redis.conf and ran puppet agent -t
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     run puppet agent -t
   * What was the outcome of this action?
   Warning: Augeas[redis.conf](provider=augeas): Loading failed for one or more 
files, see debug for /augeas//error output
   Error: /Stage[main]/Cpan-test/Augeas[redis.conf]: Could not evaluate: 
undefined method `flatten' for nil:NilClass
   * What outcome did you expect instead?
   the /etc/redis/redis.conf file would be amended
*** End of the template - remove these template lines ***

augtool print /augeas//error gives this:

/augeas/files/etc/redis/redis.conf/error = "parse_failed"
/augeas/files/etc/redis/redis.conf/error/pos = "35726"
/augeas/files/etc/redis/redis.conf/error/line = "817"
/augeas/files/etc/redis/redis.conf/error/char = "0"
/augeas/files/etc/redis/redis.conf/error/lens = 
"/usr/share/augeas/lenses/dist/redis.aug:112.10-.37:"
/augeas/files/etc/redis/redis.conf/error/message = "Iterated lens matched less 
than it should"

Line 817 is:

notify-keyspace-events ""

If you comment out that line it works.

I'm not doing any editing yet, the entry inthe puppet file just says:

  augeas { 
    'redis.conf':
      context => '/files/etc/redis/redis.conf',
  }

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-augeas depends on:
ii  libaugeas0  1.2.0-0.2
ii  libc6       2.19-19
ii  libgmp10    2:6.0.0+dfsg-7
ii  libruby2.1  2.1.5-3
ii  libxml2     2.9.2+dfsg1-3
ii  ruby        1:2.1.5.1

ruby-augeas recommends no packages.

ruby-augeas suggests no packages.

-- 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