Using safe defaults for connecting with Puppetdb

See: https://github.com/example42/puppet-puppet/issues/68

Resolves #68
Merge pull request #69 from Freeaqingme/safeDefaults

Using safe defaults for connecting with Puppetdb