Merge "Also look for stackforge puppet modules when copying logs"

This commit is contained in:
Jenkins
2015-09-30 07:02:34 +00:00
committed by Gerrit Code Review

View File

@@ -33,7 +33,7 @@ mkdir $WORKSPACE/logs
for project in /etc/puppet/modules/*; do
# find Puppet OpenStack modules
if [ -f $project/metadata.json ]; then
if grep -q 'github.com/openstack/puppet' $project/metadata.json; then
if egrep -q "github.com/(stackforge|openstack)/puppet" $project/metadata.json; then
PROJECTS+="$(basename $project) "
fi
fi