aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/udev/network.pp
blob: 2e42519448a84c418b29604dbe047c1589d03c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class nodo::subsystem::udev::network {
  $role = hiera('nodo::role', 'default')

  file { '/etc/udev/rules.d/70-persistent-net.rules':
    ensure  => present,
    owner   => "root",
    group   => "root",
    mode    => "0644",
    source  => [
                 "puppet:///modules/site_nodo/udev/hostname/persistent-net.rules.${::hostname}",
                 "puppet:///modules/site_nodo/udev/role/persistent-net.rules.${role}",
                 "puppet:///modules/site_nodo/udev/domain/persistent-net.rules.${::domain}",
               ],
  }
}