hortonworks/HDP-Public-Utilities — pull request #1 by terrypadgett (2013-02-03 18:15:23+00:00)
Title: Two updated scripts

Paul,

I modified the sed statement in the ec2 auto script to use the inline option instead of using a temp file.

The other mods were made to the cleanup script. First, I put protection around the "yum erase" so it wouldn't barf an error message if the package list was empty. The other change was to the repo removing command. An "rm: missing operand" error was popping up when I ran the script so I add a '-f' to the rm so the error would stop.

-Terry