source: trunk/puppet/modules/puppet-network/manifests/os/openbsd.pp @ 510

Last change on this file since 510 was 510, checked in by sebas, 12 years ago

fork del modulo network de Koumbit

File size: 413 bytes
Line 
1class network::openbsd {
2  exec { "netstart":
3    command => "/bin/sh /etc/netstart",
4    logoutput => true,
5    refreshonly => true,
6  }
7}
8
9define 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.