CB 2.0 can bootstrap an admin node to having a provisioner [3/7]

To try it out:

* Build an ISO
* Install the admin node.
* Install crowbar with /opt/dell/bin/install-crowbar your.test.name
* Wait for the install to "finish"
* Check out the functional UI @ 192.168.124.10:3000
* Run these soon-to-be-unneeded-commands:
* su - crowbar
* cd /opt/dell/crowbar_framework
* bundle exec script/rails c production
* Node.make_admin!
* NodeRole.converge!
* Watch the node roles converge in the UI.
* Marvel at how much more granular it is.
* Gaze in awe at the detailed per-node display of inbound and
outbound data.
* Tremble at a UI that displays what exactly happened to make a node
role do its thing.
* Profit.


 chef/cookbooks/apache2/README.rdoc                 |   78 +++++
 chef/cookbooks/apache2/attributes/default.rb       |   99 ++++++
 chef/cookbooks/apache2/definitions/apache_conf.rb  |   27 ++
 .../cookbooks/apache2/definitions/apache_module.rb |   51 +++
 chef/cookbooks/apache2/definitions/apache_site.rb  |   41 +++
 chef/cookbooks/apache2/definitions/web_app.rb      |   49 +++
 .../files/default/apache2_module_conf_generate.pl  |   41 +++
 chef/cookbooks/apache2/metadata.rb                 |  197 +++++++++++
 chef/cookbooks/apache2/recipes/default.rb          |  229 +++++++++++++
 chef/cookbooks/apache2/recipes/god_monitor.rb      |   33 ++
 chef/cookbooks/apache2/recipes/mod_alias.rb        |   22 ++
 chef/cookbooks/apache2/recipes/mod_auth_basic.rb   |   20 ++
 chef/cookbooks/apache2/recipes/mod_auth_digest.rb  |   20 ++
 chef/cookbooks/apache2/recipes/mod_auth_openid.rb  |   83 +++++
 chef/cookbooks/apache2/recipes/mod_authn_file.rb   |   20 ++
 chef/cookbooks/apache2/recipes/mod_authnz_ldap.rb  |   20 ++
 .../cookbooks/apache2/recipes/mod_authz_default.rb |   20 ++
 .../apache2/recipes/mod_authz_groupfile.rb         |   20 ++
 chef/cookbooks/apache2/recipes/mod_authz_host.rb   |   20 ++
 chef/cookbooks/apache2/recipes/mod_authz_user.rb   |   20 ++
 chef/cookbooks/apache2/recipes/mod_autoindex.rb    |   22 ++
 chef/cookbooks/apache2/recipes/mod_cgi.rb          |   20 ++
 chef/cookbooks/apache2/recipes/mod_dav.rb          |   20 ++
 chef/cookbooks/apache2/recipes/mod_dav_svn.rb      |   22 ++
 chef/cookbooks/apache2/recipes/mod_deflate.rb      |   22 ++
 chef/cookbooks/apache2/recipes/mod_dir.rb          |   22 ++
 chef/cookbooks/apache2/recipes/mod_env.rb          |   20 ++
 chef/cookbooks/apache2/recipes/mod_expires.rb      |   20 ++
 chef/cookbooks/apache2/recipes/mod_fcgid.rb        |   46 +++
 chef/cookbooks/apache2/recipes/mod_headers.rb      |   20 ++
 chef/cookbooks/apache2/recipes/mod_ldap.rb         |   20 ++
 chef/cookbooks/apache2/recipes/mod_log_config.rb   |   24 ++
 chef/cookbooks/apache2/recipes/mod_mime.rb         |   22 ++
 chef/cookbooks/apache2/recipes/mod_negotiation.rb  |   22 ++
 chef/cookbooks/apache2/recipes/mod_php5.rb         |   37 ++
 chef/cookbooks/apache2/recipes/mod_proxy.rb        |   22 ++
 chef/cookbooks/apache2/recipes/mod_proxy_ajp.rb    |   20 ++
 .../apache2/recipes/mod_proxy_balancer.rb          |   20 ++
 .../cookbooks/apache2/recipes/mod_proxy_connect.rb |   20 ++
 chef/cookbooks/apache2/recipes/mod_proxy_http.rb   |   20 ++
 chef/cookbooks/apache2/recipes/mod_python.rb       |   32 ++
 chef/cookbooks/apache2/recipes/mod_rewrite.rb      |   20 ++
 chef/cookbooks/apache2/recipes/mod_setenvif.rb     |   22 ++
 chef/cookbooks/apache2/recipes/mod_ssl.rb          |   43 +++
 chef/cookbooks/apache2/recipes/mod_status.rb       |   22 ++
 chef/cookbooks/apache2/recipes/mod_wsgi.rb         |   29 ++
 .../apache2/templates/default/a2dismod.erb         |   22 ++
 .../apache2/templates/default/a2dissite.erb        |   29 ++
 .../apache2/templates/default/a2enmod.erb          |   37 ++
 .../apache2/templates/default/a2ensite.erb         |   38 +++
 .../apache2/templates/default/apache2.conf.erb     |  234 +++++++++++++
 .../apache2/templates/default/apache2.god.erb      |   19 ++
 .../apache2/templates/default/charset.erb          |    6 +
 .../apache2/templates/default/default-site.erb     |   57 ++++
 .../templates/default/mod_auth_openid.rb.erb       |   12 +
 .../apache2/templates/default/mods/README          |    2 +
 .../apache2/templates/default/mods/alias.conf.erb  |   24 ++
 .../templates/default/mods/authopenid.load.erb     |    6 +
 .../templates/default/mods/autoindex.conf.erb      |  101 ++++++
 .../templates/default/mods/deflate.conf.erb        |   16 +
 .../apache2/templates/default/mods/dir.conf.erb    |    5 +
 .../apache2/templates/default/mods/fcgid.conf.erb  |   10 +
 .../apache2/templates/default/mods/mime.conf.erb   |  196 +++++++++++
 .../templates/default/mods/negotiation.conf.erb    |   18 +
 .../apache2/templates/default/mods/proxy.conf.erb  |   19 ++
 .../templates/default/mods/setenvif.conf.erb       |   28 ++
 .../apache2/templates/default/mods/ssl.conf.erb    |   72 ++++
 .../apache2/templates/default/mods/status.conf.erb |   16 +
 .../apache2/templates/default/port_apache.erb      |    2 +
 .../apache2/templates/default/ports.conf.erb       |    6 +
 .../apache2/templates/default/security.erb         |   50 +++
 .../apache2/templates/default/web_app.conf.erb     |   43 +++
 chef/cookbooks/dhcp/recipes/default.rb             |   13 +-
 chef/cookbooks/nfs-server/recipes/default.rb       |    2 +-
 chef/cookbooks/provisioner/metadata.rb             |    1 -
 chef/cookbooks/provisioner/recipes/base.rb         |   54 +--
 chef/cookbooks/provisioner/recipes/dhcp_update.rb  |    6 +-
 .../cookbooks/provisioner/recipes/make_ssh_keys.rb |   28 ++
 .../provisioner/recipes/setup_base_images.rb       |  356 +++++++++-----------
 chef/cookbooks/provisioner/recipes/update_nodes.rb |    4 +
 .../provisioner/templates/default/autoyast.xml.erb |   10 +-
 .../provisioner/templates/default/control.sh.erb   |    2 +-
 .../templates/default/crowbar_join.suse.sh.erb     |    2 +-
 .../provisioner/templates/default/tftpd-ubuntu.erb |    5 +
 chef/roles/provisioner-base/node-template.json     |  133 +-------
 chef/roles/provisioner-base/role-template.json     |  132 +-------
 chef/roles/provisioner-server.rb                   |   66 +---
 chef/roles/provisioner-server/node-template.json   |  133 +-------
 chef/roles/provisioner-server/role-template.json   |  190 ++++-------
 crowbar.yml                                        |   16 +-
 script/roles/provisioner-base/node-template.json   |  132 --------
 script/roles/provisioner-base/role-template.json   |  132 --------
 script/roles/provisioner-server/node-template.json |  132 --------
 script/roles/provisioner-server/role-template.json |  132 --------
 94 files changed, 3111 insertions(+), 1377 deletions(-)

Crowbar-Pull-ID: c3b0cb7e352feeff6881ccd3369d63b7170a505b

Crowbar-Release: development