Defined Type: interface::setting
- Defined in:
- modules/interface/manifests/setting.pp
Overview
6 7 8 9 10 11 12 13 |
# File 'modules/interface/manifests/setting.pp', line 6
define interface::setting($interface, $setting, $value) {
augeas { "${interface}_${title}":
incl => '/etc/network/interfaces',
lens => 'Interfaces.lns',
context => "/files/etc/network/interfaces/*[. = '${interface}' and family = 'inet']",
changes => "set ${setting} '${value}'",
}
}
|