While the augeas resource type is really powerful, it is relatively complicated to craft an augeas resource types. There are a few puppet modules that run on top of augeas and simplifies the use of augeas by providing custom resource types for editing specific config files:
AnnouncementI have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!
I think the shellvar module is for editing any variable=value type config files.