http://stackoverflow.com/questions/11843506/uncomment-a-line-in-puppet
Announcement
You can find all my latest posts on medium.This could be better:
http://augeasproviders.com/documentation/examples.html#shellvar-provider
https://forge.puppetlabs.com/herculesteam