SCIENTIFIC-LINUX-USERS Archives

April 2016

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dan McDaniel <[log in to unmask]>
Reply To:
Dan McDaniel <[log in to unmask]>
Date:
Wed, 27 Apr 2016 13:14:37 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
On Wed 27.Apr.16 08:41, Jose Marques wrote:
>
>> On 26 Apr 2016, at 17:59, Dan McDaniel <[log in to unmask]> 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
[log in to unmask]

ATOM RSS1 RSS2