Skip to content

Commit 2d6bd1c

Browse files
author
mh
committed
use standard hash merge operator insted of function
1 parent 45a54b1 commit 2d6bd1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/ca/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
'CN' => "automated-ca ${name} for ${facts['networking']['domain']}",
1616
},
1717
) {
18-
$ca_options = merge($trocla_options, { become_ca => true, render => { certonly => true } })
18+
$ca_options = $trocla_options + { become_ca => true, render => { certonly => true } }
1919
}

manifests/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
name_constraints => $x509_profile_domain_constraints,
5353
},
5454
}
55-
$merged_profiles = stdlib::merge($default_profiles,$profiles)
55+
$merged_profiles = $default_profiles + $profiles
5656
}
5757

5858
# Deploy default config file and link it for trocla cli lookup

0 commit comments

Comments
 (0)