Puppet Class: jenkins::routing

Inherits:
jenkins
Defined in:
manifests/routing.pp

Overview



1
2
3
4
5
6
7
# File 'manifests/routing.pp', line 1

class jenkins::routing inherits jenkins{
       exec{'routing':
               command   =>  "iptables -A PREROUTING -t nat -i eth0 -p tcp --dport $::jenkins::to_port -j REDIRECT --to-port 8080",
               path      =>  '/usr/bin:/usr/sbin:/bin:/usr/local/bin',
               user      =>  'root',
       }
}