Made it possible to use pre-up,post-up,pre-down and post-down in the interface file.

    network_config { 'eth1':
      ensure    => 'present',
      family    => 'inet',
      ipaddress => '169.254.0.1',
      method    => 'static',
      netmask   => '255.255.0.0',
      onboot    => 'true',
      postup    => [ "ip route add 11.11.11.11/27 dev eth1 table vip" ]
      postdown  => [ "ip rule del from 11.11.11.11 table vip" ]
    }