]> gitweb.fluxo.info Git - hydra.git/commitdiff
Merge branch 'master' into develop
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Mar 2016 14:28:12 +0000 (11:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Mar 2016 14:28:12 +0000 (11:28 -0300)
Conflicts:
TODO.md
share/hydra/install
share/hydra/mass
share/hydractl/bootstrap
share/hydractl/puppet-enable
share/hydractl/system-upgrade

1  2 
TODO.md
share/hydra/install

diff --cc TODO.md
index 94ca81a7827f8bd4214777765c9ff766e5c5071a,46c49ac20d2aa00fef15892d3aa4a904532c558a..f6b48ee1ca8f4cee555cbeec499c1f9a8e110c56
+++ b/TODO.md
@@@ -4,11 -4,34 +4,13 @@@ TOD
  Hydra
  -----
  
 -- ansible integration.
 -- module-commit:
 -  - check and set git-flow and production branch in all repositories.
 -  - check, install and test puppet pre-commit via git-hooks on all repositories using module-commit.
 +- implement a general test suite.
 +- install: move to /usr/local/share/hydra.
  - bootless: properly support `$subdevice` in parted or always use first partition (like `/dev/sdb1`).
 +- init: add new repositories as superproject's submodules.
 +- newnode: do not generate manifest file, only hiera.
+ - ssh-config: hydra integration.
+ - init: version control in the superproject?
  - deploy:
 -  - install keys?
 -  - use /etc/hydra/{puppet,keyring,etc}?
 -
 -Hydractl
 ---------
 -
 -- provision:
 -  - command line parameters using key=value pairs.
 -  - config parser using a custom function with `include` directive, avoiding `source`.
 -- install: PREFIX support.
 -- deploy: install keys
 -- upgrade: run docker upgrade on all available images.
 -- wrapper to import/export monkeysphere keys into keyringer.
 -- backup-{site,copy,restore}: call backup-restore-user.
 -- backup-restore-site {debian,wiki}.
 -- backup-restore-user and backup-restore-users.
 -- backup-restore-SERVICE: stop/start service.
 -- backup-copy action.
 -- backup-restore-reprepro: rsync -av /var/backups/remote/$ORIG/restore/$DATE/var/reprepro/ /var/reprepro/.
 -- backup-restore-sites: support for other backup locations.
 -- backup-restore-site:
 -  - metastore integration for fine-grained permissions.
 -  - use metadata do detect drupal series.
 +  - fix /etc/puppet permissions.
 +  - import keys and certs.
index 6a3c07f3a77aa30625d78dc28a8372f3b44aa846,8b93ae7dea613cbb8addb0af3a28c3133a185529..00154b78238078c5625d1f194d564abfc8b9e658
@@@ -28,15 -28,9 +28,14 @@@ if [ -z "$NODES" ]; the
    NODES="`hydra $HYDRA nodes`"
  fi
  
--# Validation
--if [ -z "$ORIGIN" ]; then
-   ORIGIN="git://git.fluxo.info/hydra.git"
- else
-   ORIGIN_CONFIG="`hydra $HYDRA config git`"
++# Get origin
++ORIGIN_CONFIG="`hydra $HYDRA config git`"
 +
-   if [ ! -z "$ORIGIN_CONFIG" ]; then
-     ORIGIN="$ORIGIN_CONFIG/hydra.git"
-   fi
++# Validate origin
++if [ ! -z "$ORIGIN_CONFIG" ]; then
++  ORIGIN="$ORIGIN_CONFIG/hydra.git"
++else
+   ORIGIN="git://git.fluxo.info/hydra.git"
  fi
  
  # Deploy