edelight / chef-mongodb

MongoDB Chef cookbook
https://community.opscode.com/cookbooks/mongodb
Apache License 2.0
362 stars 3 forks source link

#401: allow using the optional mongodb.fqdn_override attribute to ove… #402

Closed yuhanz closed 9 years ago

yuhanz commented 9 years ago

…rride the fqdn in constructing the hostname.

As describe in #401, we need to have a way to override fqdn to be a specific host name, as the requirement is avoid usage of dynamic aws host names, without DNS updates.

(In our case, the specific host names are static ip's.)

This is one line change that makes this option open. The change does not affect any existing logic when the attribute is missing. Please merge it if this change makes sense. Thank you.

yuhanz commented 9 years ago

@edelight For 1.9.3 build, error happened unrelated to this change:

Gem::InstallError: ohai requires Ruby version >= 2.0.0. An error occurred while installing ohai (8.5.0), and Bundler cannot continue.

Looks like some other change has include ohai gem that is unsupported by 1.9.3