diff --git a/mongodb/manifests/init.pp b/mongodb/manifests/init.pp index 5b4baa7..719b423 100644 --- a/mongodb/manifests/init.pp +++ b/mongodb/manifests/init.pp @@ -49,6 +49,11 @@ class mongodb::server { notify => Service["mongod"], } + selinux::manage_port { "28017": + type => "http_port_t", + proto => "tcp", + } + service { "mongod": ensure => running, enable => true,