Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Ursu committed Aug 15, 2024
1 parent 8d7d264 commit f36c063
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions plans/server/sync.pp
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# @summary Clean node certificates on Puppet controller node
# @summary Sync Puppet manifests on specified Puppet controller nodes
#
# Bolt plan which run r10k command for each Puppet
# controller node as Bolt plan target
# This Bolt plan runs the r10k command on each Puppet controller node specified in the target.
# It ensures that the latest manifests are synced.
#
# @param targets
# Puppet server(s) where manifests should be synced
# Puppet server(s) where the manifests should be synced.
#
plan puppet::server::sync (
TargetSpec $targets,
) {
run_plan(facts, $targets)
# Gather facts about the target nodes
run_plan('facts', $targets)

# Apply the puppet::r10k::run class on each target node
return apply($targets) {
include puppet

Expand Down

0 comments on commit f36c063

Please sign in to comment.