aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-11 11:58:37 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-11 12:03:41 +0200
commit90aa04648bf2e79890e47b8f84df8903f9958a12 (patch)
tree983e103c177c1d74dd4fbac804986d47d9e533b4 /manifests
parent745b2537e79eca59f8e9f2f15230482fcdf140aa (diff)
downloadpuppet-dhcp-90aa04648bf2e79890e47b8f84df8903f9958a12.tar.gz
puppet-dhcp-90aa04648bf2e79890e47b8f84df8903f9958a12.tar.bz2
Use # as comments
Diffstat (limited to 'manifests')
-rw-r--r--manifests/server.pp65
1 files changed, 31 insertions, 34 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 779b305..63e9f37 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -1,37 +1,34 @@
-/*
-
-= Class: dhcp::server
-Simple OS wrapper. Include this to install a dhcp server on your host.
-
-Requires:
- module "common": git://github.com/camptocamp/puppet-common.git
-
-facultative argument:
- *$dhcpd_ddns_update* : ddns-update-style option (default to none)
- *$dhcpd_authoritative* : set it if you want that your DHCP server is
- authoritative (default to no)
- *$dhcpd_opts* : any other DHCPD valid options
-
-Example:
-node "dhcp.toto.ltd" {
- $dhcpd_opts = ['domain-name "toto.ltd"', "domain-name-servers 192.168.21.1"]
- include dhcp::server
-
- dhcp::subnet {"10.27.20.0":
- ensure => present,
- broadcast => "10.27.20.255",
- other_opts => ['filename "pxelinux.0";', 'next-server 10.27.10.1;'],
- }
-
- dhcp::host {"titi-eth0":
- ensure => present,
- mac => "0e:18:fa:fe:d9:00",
- subnet => "10.27.20.0",
- fixed_address => "10.27.10.52",
- }
-}
-*/
-
+# = Class: dhcp::server
+# Simple OS wrapper. Include this to install a dhcp server on your host.
+#
+# Requires:
+# module "common": git://github.com/camptocamp/puppet-common.git
+#
+# facultative argument:
+# *$dhcpd_ddns_update* : ddns-update-style option (default to none)
+# *$dhcpd_authoritative* : set it if you want that your DHCP server is
+# authoritative (default to no)
+# *$dhcpd_opts* : any other DHCPD valid options
+#
+# Example:
+# node "dhcp.toto.ltd" {
+# $dhcpd_opts = ['domain-name "toto.ltd"', "domain-name-servers 192.168.21.1"]
+# include dhcp::server
+#
+# dhcp::subnet {"10.27.20.0":
+# ensure => present,
+# broadcast => "10.27.20.255",
+# other_opts => ['filename "pxelinux.0";', 'next-server 10.27.10.1;'],
+# }
+#
+# dhcp::host {"titi-eth0":
+# ensure => present,
+# mac => "0e:18:fa:fe:d9:00",
+# subnet => "10.27.20.0",
+# fixed_address => "10.27.10.52",
+# }
+# }
+#
class dhcp::server {
class { '::dhcp::server::packages': } ->
class { '::dhcp::server::config': } ~>