Initial cut at CB2 OpenStack barclamp [1/1]

Initial cut at OpenStack CB2 barclamp.

This includes:

Added bin script for CLI support.
Added missing chef-solo link.
The os-base role.
All required cookbooks temporarily checked in.
Added Berksfile & Berksfile.lock that were used to retrieve the cookbooks.

Note that the cookbooks should probably not be checked in here, but should be retrieved with Berkshelf most likely at build time.  That is a different effort, and changes to this barclamp including removing the checked in cookbooks will be made when an alternative is in place.


 bin/crowbar_openstack                              |   21 +
 chef-solo                                          |    1 +
 chef/Berksfile                                     |    1 +
 chef/cookbooks/apt/CHANGELOG.md                    |  155 ++++++
 chef/cookbooks/apt/README.md                       |  248 ++++++++++
 chef/cookbooks/apt/attributes/default.rb           |   28 ++
 chef/cookbooks/apt/files/default/apt-proxy-v2.conf |   50 ++
 chef/cookbooks/apt/libraries/helpers.rb            |   48 ++
 chef/cookbooks/apt/libraries/network.rb            |   31 ++
 chef/cookbooks/apt/metadata.json                   |   54 +++
 chef/cookbooks/apt/metadata.rb                     |   34 ++
 chef/cookbooks/apt/providers/preference.rb         |   63 +++
 chef/cookbooks/apt/providers/repository.rb         |  143 ++++++
 chef/cookbooks/apt/recipes/cacher-client.rb        |   81 ++++
 chef/cookbooks/apt/recipes/cacher-ng.rb            |   43 ++
 chef/cookbooks/apt/recipes/default.rb              |   82 ++++
 chef/cookbooks/apt/resources/preference.rb         |   30 ++
 chef/cookbooks/apt/resources/repository.rb         |   41 ++
 .../apt/templates/debian-6.0/acng.conf.erb         |  173 +++++++
 chef/cookbooks/apt/templates/default/01proxy.erb   |    5 +
 chef/cookbooks/apt/templates/default/acng.conf.erb |  275 +++++++++++
 .../apt/templates/ubuntu-10.04/acng.conf.erb       |  269 +++++++++++
 chef/cookbooks/aws/CHANGELOG.md                    |   83 ++++
 chef/cookbooks/aws/README.md                       |  357 ++++++++++++++
 chef/cookbooks/aws/attributes/default.rb           |   22 +
 chef/cookbooks/aws/libraries/ec2.rb                |   80 ++++
 chef/cookbooks/aws/metadata.json                   |   30 ++
 chef/cookbooks/aws/metadata.rb                     |    8 +
 chef/cookbooks/aws/providers/ebs_raid.rb           |  446 ++++++++++++++++++
 chef/cookbooks/aws/providers/ebs_volume.rb         |  267 +++++++++++
 chef/cookbooks/aws/providers/elastic_ip.rb         |   90 ++++
 chef/cookbooks/aws/providers/elastic_lb.rb         |   34 ++
 chef/cookbooks/aws/providers/resource_tag.rb       |   95 ++++
 chef/cookbooks/aws/providers/s3_file.rb            |   58 +++
 chef/cookbooks/aws/recipes/default.rb              |   25 +
 chef/cookbooks/aws/resources/ebs_raid.rb           |   19 +
 chef/cookbooks/aws/resources/ebs_volume.rb         |   20 +
 chef/cookbooks/aws/resources/elastic_ip.rb         |   11 +
 chef/cookbooks/aws/resources/elastic_lb.rb         |   10 +
 chef/cookbooks/aws/resources/resource_tag.rb       |   11 +
 chef/cookbooks/aws/resources/s3_file.rb            |   31 ++
 chef/cookbooks/build-essential/CHANGELOG.md        |   54 +++
 chef/cookbooks/build-essential/README.md           |  147 ++++++
 .../build-essential/attributes/default.rb          |   33 ++
 chef/cookbooks/build-essential/metadata.json       |    1 +
 chef/cookbooks/build-essential/metadata.rb         |   15 +
 chef/cookbooks/build-essential/recipes/debian.rb   |   45 ++
 chef/cookbooks/build-essential/recipes/default.rb  |   24 +
 chef/cookbooks/build-essential/recipes/fedora.rb   |   36 ++
 chef/cookbooks/build-essential/recipes/mac_os_x.rb |   39 ++
 chef/cookbooks/build-essential/recipes/omnios.rb   |   39 ++
 chef/cookbooks/build-essential/recipes/rhel.rb     |   43 ++
 chef/cookbooks/build-essential/recipes/smartos.rb  |   29 ++
 chef/cookbooks/build-essential/recipes/solaris2.rb |   42 ++
 chef/cookbooks/build-essential/recipes/suse.rb     |   36 ++
 chef/cookbooks/database/CHANGELOG.md               |  101 ++++
 chef/cookbooks/database/README.md                  |  496 ++++++++++++++++++++
 .../database/libraries/provider_database_mysql.rb  |  104 ++++
 .../libraries/provider_database_mysql_user.rb      |   85 ++++
 .../libraries/provider_database_postgresql.rb      |  131 ++++++
 .../provider_database_postgresql_schema.rb         |   73 +++
 .../libraries/provider_database_postgresql_user.rb |   95 ++++
 .../libraries/provider_database_sql_server.rb      |  111 +++++
 .../libraries/provider_database_sql_server_user.rb |  124 +++++
 .../database/libraries/resource_database.rb        |  119 +++++
 .../database/libraries/resource_database_user.rb   |   99 ++++
 .../database/libraries/resource_mysql_database.rb  |   34 ++
 .../libraries/resource_mysql_database_user.rb      |   34 ++
 .../libraries/resource_postgresql_database.rb      |   35 ++
 .../resource_postgresql_database_schema.rb         |   44 ++
 .../libraries/resource_postgresql_database_user.rb |   46 ++
 .../libraries/resource_sql_server_database.rb      |   34 ++
 .../libraries/resource_sql_server_database_user.rb |   44 ++
 chef/cookbooks/database/metadata.json              |   46 ++
 chef/cookbooks/database/metadata.rb                |   22 +
 chef/cookbooks/database/recipes/default.rb         |   20 +
 chef/cookbooks/database/recipes/ebs_backup.rb      |   89 ++++
 chef/cookbooks/database/recipes/ebs_volume.rb      |  204 ++++++++
 chef/cookbooks/database/recipes/master.rb          |   78 +++
 chef/cookbooks/database/recipes/mysql.rb           |   20 +
 chef/cookbooks/database/recipes/postgresql.rb      |   20 +
 chef/cookbooks/database/recipes/snapshot.rb        |   62 +++
 .../database/templates/default/app_grants.sql.erb  |    8 +
 .../database/templates/default/aws_config.erb      |    3 +
 .../default/chef-solo-database-snapshot.cron.erb   |    6 +
 .../default/chef-solo-database-snapshot.json.erb   |    1 +
 .../default/chef-solo-database-snapshot.rb.erb     |    6 +
 .../database/templates/default/ebs-backup-cron.erb |    2 +
 .../templates/default/ebs-db-backup.sh.erb         |    8 +
 .../templates/default/ebs-db-restore.sh.erb        |   10 +
 .../cookbooks/database/templates/default/s3cfg.erb |   27 ++
 chef/cookbooks/mysql/CHANGELOG.md                  |  250 ++++++++++
 chef/cookbooks/mysql/README.md                     |  223 +++++++++
 chef/cookbooks/mysql/attributes/client.rb          |   52 ++
 chef/cookbooks/mysql/attributes/percona_repo.rb    |   22 +
 chef/cookbooks/mysql/attributes/server.rb          |  166 +++++++
 chef/cookbooks/mysql/attributes/server_debian.rb   |   32 ++
 chef/cookbooks/mysql/attributes/server_freebsd.rb  |   17 +
 chef/cookbooks/mysql/attributes/server_mac_os_x.rb |    9 +
 chef/cookbooks/mysql/attributes/server_rhel.rb     |   45 ++
 chef/cookbooks/mysql/attributes/server_suse.rb     |   16 +
 chef/cookbooks/mysql/attributes/server_windows.rb  |   22 +
 chef/cookbooks/mysql/libraries/helpers.rb          |   45 ++
 chef/cookbooks/mysql/metadata.json                 |  167 +++++++
 chef/cookbooks/mysql/metadata.rb                   |  153 ++++++
 .../mysql/recipes/_percona_repo-disabled.rb        |   56 +++
 chef/cookbooks/mysql/recipes/_server_debian.rb     |  121 +++++
 chef/cookbooks/mysql/recipes/_server_mac_os_x.rb   |   40 ++
 chef/cookbooks/mysql/recipes/_server_rhel.rb       |   86 ++++
 chef/cookbooks/mysql/recipes/_server_windows.rb    |   64 +++
 chef/cookbooks/mysql/recipes/client.rb             |   58 +++
 chef/cookbooks/mysql/recipes/default.rb            |   18 +
 chef/cookbooks/mysql/recipes/ruby.rb               |   47 ++
 chef/cookbooks/mysql/recipes/server.rb             |   51 ++
 chef/cookbooks/mysql/recipes/server_ec2.rb         |   47 ++
 .../mysql/templates/default/debian.cnf.erb         |   12 +
 .../mysql/templates/default/grants.sql.erb         |   40 ++
 chef/cookbooks/mysql/templates/default/my.cnf.erb  |  372 +++++++++++++++
 .../mysql/templates/default/mysql-server.seed.erb  |   10 +
 .../mysql/templates/default/port_mysql.erb         |    3 +
 .../mysql/templates/default/usr.sbin.mysqld.erb    |   40 ++
 .../mysql/templates/ubuntu-10/init-mysql.conf.erb  |   42 ++
 .../mysql/templates/ubuntu-12/init-mysql.conf.erb  |   44 ++
 chef/cookbooks/mysql/templates/windows/my.ini.erb  |   85 ++++
 chef/cookbooks/openssl/CHANGELOG.md                |   13 +
 chef/cookbooks/openssl/README.md                   |   38 ++
 .../cookbooks/openssl/libraries/secure_password.rb |   37 ++
 chef/cookbooks/openssl/metadata.json               |   30 ++
 chef/cookbooks/openssl/metadata.rb                 |    9 +
 chef/cookbooks/openssl/recipes/default.rb          |   19 +
 chef/cookbooks/openstack-common                    |    1 +
 chef/cookbooks/postgresql/CHANGELOG.md             |  142 ++++++
 chef/cookbooks/postgresql/README.md                |  458 ++++++++++++++++++
 chef/cookbooks/postgresql/attributes/default.rb    |  486 +++++++++++++++++++
 .../tests/minitest/apt_pgdg_postgresql_test.rb     |   39 ++
 .../files/default/tests/minitest/default_test.rb   |   27 ++
 .../files/default/tests/minitest/ruby_test.rb      |   28 ++
 .../files/default/tests/minitest/server_test.rb    |   43 ++
 .../default/tests/minitest/support/helpers.rb      |   29 ++
 chef/cookbooks/postgresql/libraries/default.rb     |  376 +++++++++++++++
 chef/cookbooks/postgresql/metadata.json            |   47 ++
 chef/cookbooks/postgresql/metadata.rb              |   25 +
 .../postgresql/recipes/.server_redhat.rb.swp       |  Bin 0 -> 12288 bytes
 .../postgresql/recipes/apt_pgdg_postgresql.rb      |   18 +
 chef/cookbooks/postgresql/recipes/client.rb        |   38 ++
 chef/cookbooks/postgresql/recipes/config_initdb.rb |  148 ++++++
 chef/cookbooks/postgresql/recipes/config_pgtune.rb |  280 +++++++++++
 chef/cookbooks/postgresql/recipes/contrib.rb       |   42 ++
 chef/cookbooks/postgresql/recipes/default.rb       |   20 +
 chef/cookbooks/postgresql/recipes/ruby.rb          |  121 +++++
 chef/cookbooks/postgresql/recipes/server.rb        |   92 ++++
 chef/cookbooks/postgresql/recipes/server_debian.rb |   34 ++
 chef/cookbooks/postgresql/recipes/server_redhat.rb |   72 +++
 .../postgresql/recipes/yum_pgdg_postgresql.rb      |   47 ++
 .../postgresql/templates/default/pg_hba.conf.erb   |   35 ++
 .../templates/default/pgsql.sysconfig.erb          |    4 +
 .../templates/default/postgresql.conf.erb          |   20 +
 chef/cookbooks/xfs/CHANGELOG.md                    |    3 +
 chef/cookbooks/xfs/CONTRIBUTING                    |   29 ++
 chef/cookbooks/xfs/LICENSE                         |  201 ++++++++
 chef/cookbooks/xfs/README.md                       |   30 ++
 chef/cookbooks/xfs/metadata.json                   |   37 ++
 chef/cookbooks/xfs/metadata.rb                     |   13 +
 chef/cookbooks/xfs/recipes/default.rb              |   28 ++
 chef/cookbooks/yum/CHANGELOG.md                    |  160 +++++++
 chef/cookbooks/yum/README.md                       |  267 +++++++++++
 chef/cookbooks/yum/attributes/main.rb              |   92 ++++
 chef/cookbooks/yum/libraries/matchers.rb           |   27 ++
 chef/cookbooks/yum/metadata.json                   |   33 ++
 chef/cookbooks/yum/metadata.rb                     |   12 +
 chef/cookbooks/yum/providers/globalconfig.rb       |   37 ++
 chef/cookbooks/yum/providers/repository.rb         |   68 +++
 chef/cookbooks/yum/recipes/default.rb              |   32 ++
 chef/cookbooks/yum/resources/globalconfig.rb       |  104 ++++
 chef/cookbooks/yum/resources/repository.rb         |   59 +++
 chef/cookbooks/yum/templates/default/main.erb      |  248 ++++++++++
 chef/cookbooks/yum/templates/default/repo.erb      |   95 ++++
 chef/roles/os-base.rb                              |    8 +
 178 files changed, 13453 insertions(+)

Crowbar-Pull-ID: ef9d7405691a8320b29de03fe7d24941d6d0f05d

Crowbar-Release: development