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

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

formateo segun la guia de estilo de puppet

File size: 419 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.