On 23/11/15 21:47, Trey Dockendorf wrote: > I'm attempting to use the Simplevars.lns, but renamed to > BeeGFS_config.lns and distributed with my Puppet module since Simplevars > in EL6 lacks empty value support. Right now I'm hitting an error that > unsure how to resolve. > > The output is from docker acceptance tests with debug enabled in Puppet: > > Debug: Augeas[beegfs-client.conf](provider=augeas): sending command > 'set' with params ["/files/etc/beegfs/beegfs-client.conf/sysMgmtdHost", > "172.17.0.64"] > <snip> > Debug: Augeas[beegfs-client.conf](provider=augeas): Put failed on one or > more files, output from /augeas//error: > Debug: Augeas[beegfs-client.conf](provider=augeas): > /augeas/files/etc/beegfs/beegfs-client.conf/error = put_failed > Debug: Augeas[beegfs-client.conf](provider=augeas): > /augeas/files/etc/beegfs/beegfs-client.conf/error/path = > /files/etc/beegfs/beegfs-client.conf/sysMgmtdHost > Debug: Augeas[beegfs-client.conf](provider=augeas): > /augeas/files/etc/beegfs/beegfs-client.conf/error/lens = > /var/lib/puppet/lib/augeas/lenses/beegfs_config.aug:33.45-.53: > Debug: Augeas[beegfs-client.conf](provider=augeas): > /augeas/files/etc/beegfs/beegfs-client.conf/error/message = Value > '172.17.0.64' does not match regexp // in store lens > > The lense I'm using is attached as is the test file that works. The > value of sysMgmtdHost is empty before a value is added.
I think this is related, it looks like it works if you delete the empty node and then recreate it: augtool> rm /files/client.conf/sysMgmtdHost rm : /files/client.conf/sysMgmtdHost 2 augtool> set /files/client.conf/sysMgmtdHost 192.168.1.1 augtool> save Saved 1 file(s) -- Dominic Cleal [email protected] _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
