How to reproduce
root@node-1:~# route | grep defau default 10.109.1.1 0.0.0.0 UG 0 0 0 br-ex root@node-1:~# cat t1.pp l3_clear_route { 'default': ensure => 'absent', destination => 'default', gateway => '10.109.1.2', interface => 'br-ex', } root@node-1:~# puppet apply t1.pp Notice: Compiled catalog for node-1.test.domain.local in environment production in 0.03 seconds Notice: /Stage[main]/Main/L3_clear_route[default]/ensure: removed Notice: Finished catalog run in 0.59 seconds root@node-1:~# route | grep defau root@node-1:~#
How to reproduce
root@node-1:~# route | grep defau test.domain. local in environment production in 0.03 seconds main]/Main/ L3_clear_ route[default] /ensure: removed
default 10.109.1.1 0.0.0.0 UG 0 0 0 br-ex
root@node-1:~# cat t1.pp
l3_clear_route { 'default':
ensure => 'absent',
destination => 'default',
gateway => '10.109.1.2',
interface => 'br-ex',
}
root@node-1:~# puppet apply t1.pp
Notice: Compiled catalog for node-1.
Notice: /Stage[
Notice: Finished catalog run in 0.59 seconds
root@node-1:~# route | grep defau
root@node-1:~#