From e1f00ed6c75724251c3e205a3a50c7a3a4bcb077 Mon Sep 17 00:00:00 2001 From: Raphaƫl Pinson Date: Fri, 12 Apr 2013 10:53:21 +0200 Subject: Rename shared-network as shared_network --- manifests/shared-network.pp | 25 ------------------------- manifests/shared_network.pp | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 manifests/shared-network.pp create mode 100644 manifests/shared_network.pp (limited to 'manifests') diff --git a/manifests/shared-network.pp b/manifests/shared-network.pp deleted file mode 100644 index 9a02a5b..0000000 --- a/manifests/shared-network.pp +++ /dev/null @@ -1,25 +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 - - concat::fragment {"shared-${name}": - ensure => $ensure, - target => "${dhcp::params::config_dir}/dhcpd.conf", - content => template('dhcp/shared-network.erb'), - require => Dhcp::Subnet[$subnets], - } - -} diff --git a/manifests/shared_network.pp b/manifests/shared_network.pp new file mode 100644 index 0000000..9a02a5b --- /dev/null +++ b/manifests/shared_network.pp @@ -0,0 +1,25 @@ +# == 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 + + concat::fragment {"shared-${name}": + ensure => $ensure, + target => "${dhcp::params::config_dir}/dhcpd.conf", + content => template('dhcp/shared-network.erb'), + require => Dhcp::Subnet[$subnets], + } + +} -- cgit v1.2.3