Skip to content

Commit 2c54fe4

Browse files
ikoniaevgeni
authored andcommitted
moved param definition to correct location
1 parent 6d4be8a commit 2c54fe4

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

manifests/init.pp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
#
33
# @param option_static_route
44
# When enabled it sets the options rfc3442-classless-static-routes and ms-classless-static-routes
5+
# @param update_static_leases
6+
# Whether to update static leases in DDNS. Valid values: 'on', 'off'.
7+
# Setting to 'off' prevents DNS records from being modified for static leases.
8+
# Default: 'on'
9+
510
class dhcp (
611
Array[String] $dnsdomain = $dhcp::params::dnsdomain,
712
Array[String] $nameservers = [],
@@ -37,10 +42,6 @@
3742
String $dhcp_root_user = 'root',
3843
String $dhcp_root_group = $dhcp::params::root_group,
3944
Boolean $ddns_updates = false,
40-
# @param update_static_leases
41-
# Whether to update static leases in DDNS. Valid values: 'on', 'off'.
42-
# Setting to 'off' prevents DNS records from being modified for static leases.
43-
# Default: 'on'
4445
Enum['on', 'off'] $update_static_leases = 'on',
4546
Optional[String] $ddns_domainname = undef,
4647
Optional[String] $ddns_rev_domainname = undef,

0 commit comments

Comments
 (0)