On Wed 27.Apr.16 08:41, Jose Marques wrote:

On 26 Apr 2016, at 17:59, Dan McDaniel <[email protected]> wrote:

Am I missing something simple?

A possible work around is to use augeas. Still need to run a command on each 
host but that is easier than editing a file manually. YMMV. I use it a lot in 
kickstart scripts.

 yum install augeas
 augtool set /files/etc/yum/yum-cron.conf/email/email_from root@something

The University of St Andrews is a charity registered in Scotland, No. SC013532.

Thanks for the mention of augeas. Very handy tool. Added a few lines in
a puppet manifest and everything is good now.




--
Dan McDaniel
571-364-7803
[email protected]

Reply via email to