Cleanup and resource ordering

Cleaned up the code based upon puppet-lint issues and added resource ordering to force the install prior to configuration