Skip to content

Commit

Permalink
one more correction
Browse files Browse the repository at this point in the history
  • Loading branch information
aursu committed Dec 20, 2024
1 parent ddfba88 commit 9c3af18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plans/server/clean.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
#
plan puppet::server::clean (
TargetSpec $targets,
Array[Stdlib::Fqdn] $hosts,
Variant[Stdlib::Fqdn, Array[Stdlib::Fqdn]] $hosts,
) {
run_plan(facts, $targets)

$apply_results = apply($targets) {
include puppet
$hosts.each |$host| {
flatten($hosts).each |$host| {
puppet::server::ca::clean { $host: }
}
}
Expand Down

0 comments on commit 9c3af18

Please sign in to comment.