Skip to content

Commit 1af4d09

Browse files
committed
Upload scripts before copying scripts directory
1 parent 992e4b7 commit 1af4d09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manifests/init.pp

+4
Original file line numberDiff line numberDiff line change
@@ -578,4 +578,8 @@
578578
-> Elasticsearch::Instance <| ensure == 'absent' |>
579579
Elasticsearch::Snapshot_repository <| |>
580580
-> Elasticsearch::Instance <| ensure == 'absent' |>
581+
582+
# Ensure scripts are installed before copying them to configuration directory
583+
Elasticsearch::Script <| |>
584+
-> File["${configdir}/scripts"]
581585
}

0 commit comments

Comments
 (0)