fuel-library/deployment/puppet/osnailyfacter/templates/puppet-pull.sh.erb
Bartłomiej Piotrowski a94ff2dcce Remove unneeded puppet module
Because puppet::pull is still used by tools task, it has been renamed
osnailyfacter::puppet_pull.

Closes-bug: 1507532
Change-Id: I9ad5fb4896168e3756c491ee7c41167aea981406
2015-10-27 07:01:37 +00:00

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}/"