Comment 3 for bug 1498478

Revision history for this message
Stanislav Makar (smakar) wrote :

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:~#