<div dir="ltr">Hello Patrick,<div><br></div><div><br></div><div>To my knowledge, there is no m4 lens that exists. The main reason is that m4 is a macro language, not a configuration language. While it's true that we support other complete languages (such as PHP or shell script), they are often very truncated to the cases found in configuration files.</div>
<div><br></div><div>If there is a standard subset of m4 macros that are generally found in <a href="http://sendmail.mc">sendmail.mc</a>, we could probably try to support them, but as for any conffile based on complete programming languages, there's no garantee that Augeas will be able to parse the whole syntax.</div>
<div><br></div><div><br></div><div>Raphaël</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 19, 2013 at 10:01 PM, Patrick Spinler <span dir="ltr"><<a href="mailto:spinler.patrick@mayo.edu" target="_blank">spinler.patrick@mayo.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I'm working on some modifications to our older redhat system's<br>
sendmails.  We're just starting to implement puppet / augeas as a<br>
management tool, and these systems haven't yet been brought under a full<br>
puppet management regime.<br>
<br>
I'm investigating the various set of puppet modules that purport to<br>
manage sendmail (which are either poorly documented or don't seem to fit<br>
our setup, or both), but it occurred to me that I could make this<br>
immediately required small change if only augeas would work with the m4<br>
macro file <a href="http://sendmail.mc" target="_blank">sendmail.mc</a>.<br>
<br>
so, question is: is there an augeas lens I missed which will edit m4<br>
macro files?  A quick look through the default lenses in my version<br>
doesn't turn anything up.  Nor does a quick google search.<br>
<br>
Help?<br>
<br>
Thanks,<br>
-- Pat<br>
<br>
_______________________________________________<br>
augeas-devel mailing list<br>
<a href="mailto:augeas-devel@redhat.com">augeas-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/augeas-devel" target="_blank">https://www.redhat.com/mailman/listinfo/augeas-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Raphaël Pinson<div>Infrastructure Developer & Trainer</div><div>+33 479 26 57 93<div>+33 781 90 00 79</div><div><br></div><div>Camptocamp France<br>

Savoie Technolac<br>
BP 352<br>
48, avenue du Lac du Bourget<br>
73372 Le Bourget du Lac, Cedex<br>
<a href="http://www.camptocamp.com" target="_blank">www.camptocamp.com</a><br>
</div></div></div>
</div>