Ask Your Question

Revision history [back]

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 => ['0.0.0.0'],
}