Puppet Class: network::restart

Defined in:
manifests/restart.pp

Overview



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

class network::restart {
  exec { 'network-restart':
      command     => 'ifdown --exclude=lo -a ; ifup --exclude=lo -a',
      path        => '/bin:/usr/bin:/sbin:/usr/sbin',
      refreshonly => true,
  }
}