TraGicCode / tragiccode-ravendb

0 stars 1 forks source link

Error if user passes in RavenDB port in config hash fail #17

Open TraGicCode opened 6 years ago

TraGicCode commented 6 years ago

In order to keep this module easy to use i want to leave the RavenDB port as a seperate parameter outside the config hash even though i will ultimately merge it in from within the config class. I need to put a protection in place that will prevent the user from using the module possibly incorrectly by preventing them from passing the ravendb port into the config hash. It looks like i can use this from the stdlib to achieve this.

https://github.com/puppetlabs/puppetlabs-stdlib#has_key

TraGicCode commented 6 years ago

Also what about the other settings that also exist in the configuration file? Example databases directory and filesystem directory