Last change
on this file since 677 was
545,
checked in by sebas, 15 years ago
|
formateo segun la guia de estilo de puppet
|
File size:
419 bytes
|
Line | |
---|
1 | class network::openbsd { |
---|
2 | exec { "netstart": |
---|
3 | command => "/bin/sh /etc/netstart", |
---|
4 | logoutput => true, |
---|
5 | refreshonly => true, |
---|
6 | } |
---|
7 | } |
---|
8 | |
---|
9 | define network::interface::openbsd ( $address, $netmask, $broadcast = "NONE", $parameters = "" ) { |
---|
10 | include network::openbsd |
---|
11 | |
---|
12 | file { "/etc/hostname.$name": |
---|
13 | mode => 0644, |
---|
14 | content => template("network/openbsd.hostname.erb"), |
---|
15 | notify => Exec[netstart], |
---|
16 | } |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.