Rev | Line | |
---|
[510] | 1 | This module aims to provide a general abstracted interface to |
---|
| 2 | configure various network-related parameters on multiple platforms. |
---|
| 3 | |
---|
| 4 | OpenBSD and Debian are the current target architectures, but patches |
---|
| 5 | are welcome for others. |
---|
| 6 | |
---|
| 7 | IP, netmask, broadcast, VLANs are currently supported. route and |
---|
| 8 | firewall configuration are next in line. |
---|
[539] | 9 | |
---|
| 10 | Example of use |
---|
| 11 | ============== |
---|
| 12 | |
---|
| 13 | network::interface { "eth0" : |
---|
[545] | 14 | address => "10.11.9.8", |
---|
| 15 | broadcast => "10.11.9.255", |
---|
| 16 | netmask => "255.255.255.0", |
---|
[540] | 17 | parameters => "gateway 10.11.9.1\n dns-search mydomain.mine.nu\n dns-nameservers 10.11.9.1", |
---|
[539] | 18 | } |
---|
[566] | 19 | |
---|
[539] | 20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.