Defined Type: interface::routing_table
- Defined in:
- modules/interface/manifests/routing_table.pp
Summary
defines a routing table nameOverview
SPDX-License-Identifier: Apache-2.0
5 6 7 8 9 10 11 12 13 |
# File 'modules/interface/manifests/routing_table.pp', line 5
define interface::routing_table (
Integer[1, 252] $number,
Wmflib::Ensure $ensure = 'present',
) {
file { "/etc/iproute2/rt_tables.d/${title}.conf":
ensure => stdlib::ensure($ensure, 'file'),
content => "${number} ${title}\n",
}
}
|