Fixed to handle both HDP 1.3.0 and 1.3.2 on RHEL/CentOS 6.

Simplified dependencies and templates to make it more resilient
for the next upgrade.