Fix puppet lint warnings
Fix puppet lint warnings

- Remove un-namespaced top-level variable. Variables in puppet are
  not scoped and this polluted the global namespace.
- Use regsubst puppet function to extract the hostname instead of
  calling in to Ruby.

conjurinc/puppet,conjur/puppet,conjur/puppet,conjurinc/puppet