aboutsummaryrefslogtreecommitdiff
path: root/manifests/definitions/dhcp-shared-network.pp
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:17:30 +0100
committerMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:17:30 +0100
commit5f4a22d6775fc091124c95bbb0b891bf95e6043c (patch)
tree8e72cf49cb70d9f88cd31dff946f5785f0fb8721 /manifests/definitions/dhcp-shared-network.pp
parent69f887dee39d13f52b7b228fa49e54bdd0454c3b (diff)
downloadpuppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.gz
puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.bz2
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/definitions/dhcp-shared-network.pp')
-rw-r--r--manifests/definitions/dhcp-shared-network.pp22
1 files changed, 0 insertions, 22 deletions
diff --git a/manifests/definitions/dhcp-shared-network.pp b/manifests/definitions/dhcp-shared-network.pp
deleted file mode 100644
index 9e1e779..0000000
--- a/manifests/definitions/dhcp-shared-network.pp
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-
-== Definition: dhcp::shared-network
-Creates a shared-network
-
-Arguments:
- *$subnets* : subnet list to be included in the shared-network
-
-Warnings:
-- subnets must exists
-- subnets must have $is_shared set to true (default is false)
-
-*/
-define dhcp::shared-network($ensure=present, $subnets=[]) {
- include dhcp::params
- common::concatfilepart {"shared-${name}":
- ensure => $ensure,
- file => "${dhcp::params::config_dir}/dhcpd.conf",
- content => template("dhcp/shared-network.erb"),
- require => Dhcp::Subnet[$subnets],
- }
-}