pretty json
This commit is contained in:
parent
66ea409145
commit
110a5a7db0
1 changed files with 4 additions and 4 deletions
|
@ -206,28 +206,28 @@ class kea (
|
|||
}
|
||||
file { '/etc/kea/kea-dhcp4.conf':
|
||||
ensure => $ensure,
|
||||
content => to_json($dhcp4_conf),
|
||||
content => to_json_pretty($dhcp4_conf, nil, { indent => ' ' }),
|
||||
mode => '0644',
|
||||
require => Package['kea'],
|
||||
notify => Service[$services],
|
||||
}
|
||||
file { '/etc/kea/kea-dhcp6.conf':
|
||||
ensure => $ensure,
|
||||
content => to_json($dhcp6_conf),
|
||||
content => to_json_pretty($dhcp6_conf, nil, { indent => ' ' }),
|
||||
mode => '0644',
|
||||
require => Package['kea'],
|
||||
notify => Service[$services],
|
||||
}
|
||||
file { '/etc/kea/kea-dhcp-ddns.conf':
|
||||
ensure => $ensure,
|
||||
content => to_json($ddns_conf),
|
||||
content => to_json_pretty($ddns_conf, nil, { indent => ' ' }),
|
||||
mode => '0644',
|
||||
require => Package['kea'],
|
||||
notify => Service[$services],
|
||||
}
|
||||
file { '/etc/kea/kea-ctrl-agent.conf':
|
||||
ensure => $ensure,
|
||||
content => to_json($ctrl_agent_conf),
|
||||
content => to_json_pretty($ctrl_agent_conf, nil, { indent => ' ' }),
|
||||
mode => '0644',
|
||||
require => Package['kea'],
|
||||
notify => Service[$services],
|
||||
|
|
Loading…
Reference in a new issue