alberto56 / vagrant-jenkins

Install a virtual box with Jenkins via Vagrant and Puppet
38 stars 21 forks source link

Allow the use of a firewall #3

Open alberto56 opened 10 years ago

alberto56 commented 10 years ago

For now we have the following line, otherwise the system does not work at all:

# don't use a firewall, see http://stackoverflow.com/questions/5984217
service { iptables: ensure => stopped }

According to http://www.andrewzammit.com/blog/installing-jenkins-ci-on-centos-6-x-tomcat-with-an-ajp-proxy/, we need to allow access to port 80, not 8080, I don't understand why though.

Anyway this can apparently be done with Puppet:

http://geek.jasonhancock.com/2011/10/11/managing-iptables-firewalls-with-puppet/

alberto56 commented 10 years ago

https://github.com/jenkinsci/puppet-jenkins, which we are using, can apparently (according to the README, configure firewall).

alberto56 commented 10 years ago

See also https://github.com/jenkinsci/puppet-jenkins/issues/92

alberto56 commented 10 years ago

Started a new branch for this called 3.