Ask Your Question

How to set bind ip using mongodb module?

asked 2013-12-17 11:44:23 -0600

detour gravatar image

I am attempting to use the puppetlabs-mongodb module to setup a standalone MongoDB server. As I understand it, I need to set the bind ip to for my web server to be able to access it. However the documentation is unclear as to how I would do this. Could someone please provide an example?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-18 17:40:00 -0600

According to the documentation, you can pass an array of IP addreses to the bind_ip parameter on mongodb::server, so your class instantiation would look something like this:

class { 'mongodb::server':
  bind_ip => [''],
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-12-17 11:44:23 -0600

Seen: 1,099 times

Last updated: Dec 18 '13