I'd actually throw away the augeas based code. I am not too sure we handle the runtime config correctly in the code below and we can always do without augeas, so let's just drop it in here.