mongodb: semanage port for mongodb webadmin
This commit is contained in:
parent
d2998eb164
commit
3d911d684e
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ class mongodb::server {
|
||||||
notify => Service["mongod"],
|
notify => Service["mongod"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
selinux::manage_port { "28017":
|
||||||
|
type => "http_port_t",
|
||||||
|
proto => "tcp",
|
||||||
|
}
|
||||||
|
|
||||||
service { "mongod":
|
service { "mongod":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue