make default order according to Debian examples
1 parent f688bce commit f67091ba812a9e0fdf551be90586702ac4789c7d
@Andreas Jaggi Andreas Jaggi authored on 27 Jul 2014
Showing 4 changed files
View
2
■■■
manifests/allow.pp
define interfaces::allow ( $subsystem, $order='UNSET' ) {
$order_real = $order ? {
'UNSET' => 02,
'UNSET' => 04,
default => $order,
}
concat::fragment{"interfaces::allow-${subsystem}_${name}":
target => '/etc/network/interfaces',
View
4
manifests/auto.pp
define interfaces::auto ( $order='UNSET' ) {
$order_real = $order ? {
'UNSET' => $name ? {
'lo' => 06,
default => 07,
'lo' => 02,
default => 03,
},
default => $order
}
concat::fragment{"interfaces::auto_${name}":
View
manifests/iface.pp
View
manifests/mapping.pp