Ask Your Question
0

Puppet manage server ports

asked 2017-01-16 03:34:41 -0500

Anandk gravatar image

Hi, Can we use puppet to manage server ports? Say I want port 80 to not listen and only enable port 443.

A small example to do this?

Thanks! A

edit retag flag offensive close merge delete

Comments

Can you clarify.. Do you want puppet to listen/not listen, or some other technology? If some other technology, two different answers.. 1)Have puppet manage the configuration of your software, telling it which ports to listen/not listen on. 2) explicitly block the machine using firewall rules

DarylW gravatar imageDarylW ( 2017-01-16 07:36:44 -0500 )edit

Thanks! Preferably the first method, but examples of both will be fantastic. Basically a web server that shouldn't listen on port 80 only.

Anandk gravatar imageAnandk ( 2017-01-16 07:41:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-01-17 12:31:43 -0500

lavaman gravatar image

You can use puppet to manage a webserver and the port configuration of the webserver. There are modules for most common webservers available in the forge:

https://forge.puppet.com/

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

Stats

Asked: 2017-01-16 03:34:41 -0500

Seen: 38 times

Last updated: Jan 17