I have had downloaded puppet agent following that guide. but still i am getting the same error.
I have installed ruby-augeas using tar file available on augeas site.
Debug: Augeas[host_file](provider=augeas): Opening augeas with root /, lens path , flags 32
Debug: Augeas[host_file](provider=augeas): Augeas version 1.0.0 is installed
Debug: Augeas[host_file](provider=augeas): Unable to optimize files loaded by context path, no glob matches
Debug: Augeas[host_file](provider=augeas): Loading failed for one or more files, output from /augeas//error:
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error = parse_failed
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error/pos = 4385
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error/line = 119
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error/char = 0
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error/lens = /usr/share/augeas/lenses/dist/sudoers.aug:531.10-.70:
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/sudoers/error/message = Iterated lens matched less than it should
Debug: Augeas[host_file](provider=augeas): /augeas/files/etc/mcollective/server.cfg/error = parse_failed
Please help!