blob: 734c02583cbfc3b26331a7bd6bcc54b19654088b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class nodo::subsystem::udev::network {
$role = lookup('nodo::role', undef, undef, '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}",
],
}
}
|