Skip to content

Pmovil/puppet-route

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Route module for Puppet

This module manages route on Linux (RedHat/Debian) distros.

Pluginsync needs to be enabled for this module to function properly. Read more about pluginsync in our docs

Description

This module depends on the puppetlabs-stdlib.

Usage

Add route for host and/or network.

$target_net = ['20.20.20.0/24', '10.20.0.0/16', '10.10.20.21']
route { $target_net: 
    gateway     => '10.10.10.1',
}

Delete route for host and/or network.

$target_net_absent = ['10.10.20.51', '10.20.30.0/16']
route { $target_net_absent:
    ensure      => absent,
    gateway     => '10.10.10.1',
}

About

Route module for Puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 95.3%
  • Ruby 4.7%