Skip to content

Commit 01e8f4f

Browse files
committed
Use stdlib parsehocon() function
This requires puppetlabs-stdlib version 6.5.0 or newer.
1 parent 7433df7 commit 01e8f4f

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

lib/puppet/functions/peadm/parsehocon.rb

-14
This file was deleted.

metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": [
1111
{
1212
"name": "puppetlabs/stdlib",
13-
"version_requirement": ">= 4.20.0 < 7.0.0"
13+
"version_requirement": ">= 6.5.0 < 7.0.0"
1414
},
1515
{
1616
"name": "WhatsARanjit/node_manager",

plans/upgrade.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
$pe_conf = ($current_pe_conf ? {
167167
undef => {},
168-
default => $current_pe_conf.peadm::parsehocon(),
168+
default => $current_pe_conf.parsehocon(),
169169
} + {
170170
'console_admin_password' => 'not used',
171171
'puppet_enterprise::puppet_master_host' => $master_target.peadm::target_name(),

0 commit comments

Comments
 (0)