]> gitweb.fluxo.info Git - debian.git/commitdiff
Squashed 'puppet/' changes from bb2eae6..2979f23
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Oct 2014 16:05:34 +0000 (13:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Oct 2014 16:05:34 +0000 (13:05 -0300)
2979f23 Updating mrconfig
6f77549 Updating Vagrantfile
6848013 Use git clone --recursive for puppet modules

git-subtree-dir: puppet
git-subtree-split: 2979f23a78bb7ce96599904547502c2c922b45d4

.mrconfig
TODO.md
Vagrantfile
bin/mrconfig

index 2a1739510b4ef940f46656e7afc0a1870d36f564..8731bee33ba7b1697da54557bdd2b166c47122ad 100644 (file)
--- a/.mrconfig
+++ b/.mrconfig
@@ -5,6 +5,9 @@ checkout = git clone git://git.sarava.org/puppet-apache.git apache
 [puppet/modules/apcupsd]
 checkout = git clone git://git.sarava.org/puppet-apcupsd.git apcupsd
 
+[puppet/modules/apparmor]
+checkout = git clone git://git.sarava.org/puppet-apparmor.git apparmor
+
 [puppet/modules/apt]
 checkout = git clone git://git.sarava.org/puppet-apt.git apt
 
@@ -29,6 +32,9 @@ checkout = git clone git://git.sarava.org/puppet-bind.git bind
 [puppet/modules/bitcoind]
 checkout = git clone git://git.sarava.org/puppet-bitcoind.git bitcoind
 
+[puppet/modules/bootstrap]
+checkout = git clone git://git.sarava.org/puppet-bootstrap.git bootstrap
+
 [puppet/modules/common]
 checkout = git clone git://git.sarava.org/puppet-common.git common
 
@@ -197,6 +203,9 @@ checkout = git clone git://git.sarava.org/puppet-schroot.git schroot
 [puppet/modules/shorewall]
 checkout = git clone git://git.sarava.org/puppet-shorewall.git shorewall
 
+[puppet/modules/smartmonster]
+checkout = git clone git://git.sarava.org/puppet-smartmonster.git smartmonster
+
 [puppet/modules/smartmontools]
 checkout = git clone git://git.sarava.org/puppet-smartmontools.git smartmontools
 
diff --git a/TODO.md b/TODO.md
index eab5d0c27b826abf5be5c11f23c123df1ad4b5a4..1cb987ffc58f75fe284eb661f72b9aecde7f92bd 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -2,4 +2,5 @@ TODO
 ====
 
 * Update to new nodo style (hiera and nodo::role).
+* Support for recursive clones in `bin/mrconfig`.
 * Test!
index efaa9523c2e8aa774ce5f4bb4c223c7940969442..e7404a96d97f67ecc3a321777fcc68409774f0c5 100644 (file)
@@ -13,7 +13,7 @@ Vagrant::Config.run do |config|
     puppet.manifest_file  = "bootstrap/vagrant.pp"
     puppet.manifests_path = "puppet/manifests"
     puppet.module_path    = "puppet/modules"
-    puppet.pp_path        = "/etc/puppet"
+    puppet.temp_dir       = "/etc/puppet"
   end
 
   # Define a Host VM
index ffb0438da7358e9d33fff04b1145e66093adb32d..f525db31d14e6e6eeeb1dcb863f9edb9845e5509 100755 (executable)
@@ -15,11 +15,11 @@ rm -f .mrconfig
 touch .mrconfig
 
 # Fetch repository list and updtate mrconfig
-curl --stderr - $URL | grep "^puppet-" | while read module; do
+curl --stderr - $URL | grep "^puppet-" | cut -d ' ' -f 1 | while read module; do
   folder="`echo $module | sed -e 's/^puppet-//'`"
   folder="`basename $folder .git`"
   
-  if [ "$module" != "$bootstrap" ];
+  if [ "$module" != "$bootstrap" ]; then
     echo "Processing $folder..."
     mr config puppet/modules/$folder checkout="git clone git://$GIT/$module $folder"
   fi