#794149 ruby-augeas: Fails to parse default /etc/redis/redis.conf

Package:
ruby-augeas
Source:
ruby-augeas
Description:
Augeas bindings for the Ruby language
Submitter:
Nigel Horne
Date:
2015-07-30 21:15:09 UTC
Severity:
normal
#794149#5
Date:
2015-07-30 21:13:44 UTC
From:
To:
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',
  }