Update puppetdb-rundeck.rb

Update to determine hostname