Merge "Include yum update extra files"

This commit is contained in:
Jenkins 2015-05-27 14:04:43 +00:00 committed by Gerrit Code Review
commit 41f12da094
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ if os-is-bootstrap-host ; then
fi
done
# extraconfig/tasks includes package update script/template
for i in `find "$TUSKAR_ROLE_DIRECTORY/extraconfig/tasks" -type f`; do
ROLE_EXTRA_DATA="$ROLE_EXTRA_DATA --extra-data $i "
done
ROLES=( "Compute" "Controller" "Swift-Storage" "Cinder-Storage" "Ceph-Storage" )
load_roles "$(echo ${ROLES[@]})" $PUPPET_DIR "-puppet.yaml" "$ROLE_EXTRA_DATA"
else