Merge "Add Puppet-Version: !X skip to apply tests"
This commit is contained in:
commit
ee4aa495c7
@ -49,9 +49,14 @@ fi
|
|||||||
FOUND=0
|
FOUND=0
|
||||||
for f in `find applytest -name 'puppetapplytest*' -print` ; do
|
for f in `find applytest -name 'puppetapplytest*' -print` ; do
|
||||||
if grep -q "Node-OS: $CODENAME" $f; then
|
if grep -q "Node-OS: $CODENAME" $f; then
|
||||||
|
if grep -q "Puppet-Version: !${PUPPET_VERSION}" $f; then
|
||||||
|
echo "Skipping $f due to unsupported puppet version"
|
||||||
|
continue
|
||||||
|
else
|
||||||
cat applytest/head $f > $f.final
|
cat applytest/head $f > $f.final
|
||||||
FOUND=1
|
FOUND=1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $FOUND == "0" ]]; then
|
if [[ $FOUND == "0" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user