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',
}