summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/vagrant.pp
blob: 1682de8b37e8771b687e898b41820c5f0a9f30f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Gets included on vagrant nodes
class site_config::vagrant {

  include site_shorewall::defaults

  if ( $::site_config::params::interface == 'eth1' ) {
    # Don't block eth0 even if eth1 is configured, because
    # it's vagrant's main interface to access the box
    shorewall::interface { 'eth0':
      zone    => 'net',
      options => 'tcpflags,blacklist,nosmurfs';
    }
  }

}