diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-03 14:59:10 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-03 14:59:10 -0300 |
commit | 66d41c82b30a511b5dc4d12b9fdcd298b2d8b603 (patch) | |
tree | fe67c0985dcf1b112763eb64c216c60838bc077d | |
parent | 6b42c1987fe568b1331ce369f0426c3dab76953a (diff) | |
download | puppet-bootstrap-66d41c82b30a511b5dc4d12b9fdcd298b2d8b603.tar.gz puppet-bootstrap-66d41c82b30a511b5dc4d12b9fdcd298b2d8b603.tar.bz2 |
Adding 'subtrees' target
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | TODO.md | 1 | ||||
-rwxr-xr-x | bin/submodules | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -24,6 +24,9 @@ modules: submodules: bin/submodules +subtrees: + bin/subtrees + remote: git remote add bootstrap $(REPO) @@ -2,4 +2,3 @@ TODO ==== * Make "config" target, refactoring config.pp and default_conf.pp. -* Make "subtrees" target, including all puppet modules as subtrees. diff --git a/bin/submodules b/bin/submodules index c33e74e..f004f2b 100755 --- a/bin/submodules +++ b/bin/submodules @@ -19,6 +19,7 @@ repos="`grep = $DIRNAME/../.mrconfig | cut -d = -f 2 | cut -d ' ' -f 4`" for repo in $repos; do module="`basename $repo .git | sed -e s/^puppet-//`" if [ ! -d "modules/$module" ]; then + echo "Processing puppet module $module..." git submodule add $repo modules/$module fi done |