10 lines
343 B
Plaintext
10 lines
343 B
Plaintext
#!/bin/sh
|
|
local_modules="/etc/puppet/modules"
|
|
local_manifests="/etc/puppet/manifests"
|
|
remote_modules="<%= @modules_source %>"
|
|
remote_manifests="<%= @manifests_source %>"
|
|
main_manifest="/etc/puppet/manifests/site.pp"
|
|
|
|
rsync -rvc --delete "${remote_modules}/" "${local_modules}/"
|
|
rsync -rvc --delete "${remote_manifests}/" "${local_manifests}/"
|