All configuration files for the HAWQ Ranger Plugin should be shipped inside the RPM and be placed into /usr/local/hawq_X.Y.Z/ranger/etc/ directory
All configuration files for Tomcat instance that will be running RPS should be shipped inside the RPM and be placed into /usr/local/hawq_X.Y.Z/ranger/plugin-service/conf/ directory
There should be no need to edit any files inside the webapps directory upon deployment, all configuration files should be available in the 2 directories mentioned above.
Any shell scripts required to manage RPS lifecycle should be shipped with the RPM and be placed into /usr/local/hawq_X.Y.Z/ranger/plugin-service/bin/ directory.
Ranger policy cache directory should be created with gpadmin:gpadmin as default owners and be readable/writeable only by that user.