Epic rename of cmdb to jig, for real this time. [1/7]

This pull request series renames cmdb to jig across the entire Crowbar
codebase.

You can replicate its effects if you get a merge conflict with the
following commands:

cd barclamps
for bc in *; do
    (   cd "$bc" || continue
        git checkout master)
done
cd ..
while read -r f; do
    sed -i -e 's/cmdb/jig/g' -e 's/CMDB/Jig/g' -e 's/Cmdb/Jig/g' "$f"
    (   cd "${f%/*}"
        git add "${f##*/}")
done < <(grep --binary-files=without-match -irl cmdb * |grep -v '\.git')
while read f; do
    (   cd "${f%/*}"
        file="${f##*/}"
        git mv "$file" "${file//cmdb/jig}")
done < <(find -type f -name '*cmdb*' |grep -v '/\.git/')
git commit -m "Epic rename of cmdb to jig"
cd barclamps
for bc in *; do
    (   cd "$bc" || continue
        git commit -m "Epic rename of cmdb to jig");
done
cd ..


 BDD/barclamp.erl                                   |    2 +-
 BDD/cmdb.erl                                       |  106 --------------------
 BDD/features/cmdb.feature                          |   28 ------
 BDD/features/jig.feature                           |   28 ++++++
 BDD/jig.erl                                        |  106 ++++++++++++++++++++
 .../app/controllers/barclamp_controller.rb         |    2 +-
 .../app/controllers/cmdb_controller.rb             |   21 ----
 .../app/controllers/crowbar_controller.rb          |   30 +++---
 .../app/controllers/jig_controller.rb              |   21 ++++
 .../app/controllers/machines_controller.rb         |    2 +-
 .../app/controllers/nodes_controller.rb            |    4 +-
 crowbar_framework/app/models/barclamp.rb           |    8 +-
 crowbar_framework/app/models/barclamp_instance.rb  |    2 +-
 crowbar_framework/app/models/cmdb.rb               |   98 ------------------
 crowbar_framework/app/models/cmdb_event.rb         |   65 ------------
 crowbar_framework/app/models/cmdb_event_test.rb    |   36 -------
 crowbar_framework/app/models/cmdb_map.rb           |   26 -----
 crowbar_framework/app/models/cmdb_run.rb           |   80 ---------------
 crowbar_framework/app/models/cmdb_run_chef.rb      |   54 ----------
 crowbar_framework/app/models/cmdb_run_test.rb      |   44 --------
 crowbar_framework/app/models/cmdb_test.rb          |   52 ----------
 crowbar_framework/app/models/crowbar_service.rb    |   10 +-
 crowbar_framework/app/models/jig.rb                |   98 ++++++++++++++++++
 crowbar_framework/app/models/jig_event.rb          |   65 ++++++++++++
 crowbar_framework/app/models/jig_event_test.rb     |   36 +++++++
 crowbar_framework/app/models/jig_map.rb            |   26 +++++
 crowbar_framework/app/models/jig_run.rb            |   80 +++++++++++++++
 crowbar_framework/app/models/jig_run_chef.rb       |   54 ++++++++++
 crowbar_framework/app/models/jig_run_test.rb       |   44 ++++++++
 crowbar_framework/app/models/jig_test.rb           |   52 ++++++++++
 crowbar_framework/app/models/node.rb               |   62 ++++++------
 crowbar_framework/app/models/node_attrib.rb        |   14 +--
 crowbar_framework/app/models/proposal_config.rb    |    2 +-
 crowbar_framework/config/locales/crowbar/en.yml    |    2 +-
 crowbar_framework/config/routes.rb                 |    2 +-
 crowbar_framework/db/crowbar_cmdb_classes.dia      |  Bin 5867 -> 0 bytes
 crowbar_framework/db/crowbar_cmdb_classes.png      |  Bin 57948 -> 0 bytes
 crowbar_framework/db/crowbar_jig_classes.dia       |  Bin 0 -> 5867 bytes
 crowbar_framework/db/crowbar_jig_classes.png       |  Bin 0 -> 57948 bytes
 .../db/migrate/20120725023017_create_cmdb_maps.rb  |   31 ------
 .../db/migrate/20120725023017_create_jig_maps.rb   |   31 ++++++
 .../db/migrate/20120730225300_create_cmdbs.rb      |   32 ------
 .../db/migrate/20120730225300_create_jigs.rb       |   32 ++++++
 .../migrate/20120730230713_create_cmdb_events.rb   |   30 ------
 .../db/migrate/20120730230713_create_jig_events.rb |   30 ++++++
 .../db/migrate/20120730230714_create_cmdb_runs.rb  |   31 ------
 .../db/migrate/20120730230714_create_jig_runs.rb   |   31 ++++++
 .../db/migrate/20120731225405_create_barclamps.rb  |    2 +-
 .../migrate/20120731225600_create_node_attribs.rb  |    2 +-
 crowbar_framework/spec/models/cmdb_spec.rb         |   99 ------------------
 crowbar_framework/spec/models/jig_spec.rb          |   99 ++++++++++++++++++
 .../test/unit/barclamp_node_data_test.rb           |    2 +-
 .../test/unit/cmdb_event_model_test.rb             |   74 --------------
 crowbar_framework/test/unit/cmdb_map_model_test.rb |   49 ---------
 crowbar_framework/test/unit/cmdb_model_test.rb     |   74 --------------
 crowbar_framework/test/unit/cmdb_run_model_test.rb |   78 --------------
 .../test/unit/jig_event_model_test.rb              |   74 ++++++++++++++
 crowbar_framework/test/unit/jig_map_model_test.rb  |   49 +++++++++
 crowbar_framework/test/unit/jig_model_test.rb      |   74 ++++++++++++++
 crowbar_framework/test/unit/jig_run_model_test.rb  |   78 ++++++++++++++
 .../test/unit/node_attrib_model_test.rb            |   12 +--
 61 files changed, 1188 insertions(+), 1188 deletions(-)

Crowbar-Pull-ID: ca715c91ecfe7b42a192c575f9a6289aeb4c9007

Crowbar-Release: development