diff options
Diffstat (limited to 'puppet/bin/symlinks')
-rwxr-xr-x | puppet/bin/symlinks | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/puppet/bin/symlinks b/puppet/bin/symlinks index 0a221c4..c331261 100755 --- a/puppet/bin/symlinks +++ b/puppet/bin/symlinks @@ -17,8 +17,14 @@ fi # Add module symlinks using absolute folders for module in `ls $MODULES`; do - if [ "$module" != "bootstrap" ]; then - path="`cd $MODULES/$module && pwd`" - ( cd modules &> /dev/null && ln -sf $path ) + if [ "$module" == "bootstrap" ]; then + continue fi + + if echo "$module" | grep -q "^site_"; then + continue + fi + + path="`cd $MODULES/$module && pwd`" + ( cd modules &> /dev/null && ln -sf $path ) done |