A cookbook for building and publishing images to various cloud marketplaces
CentOS
AWS
Key | Type | Description | Default |
---|---|---|---|
['marketplace_image']['platform'] | String | The cloud platform to run on | aws |
['marketplace_image']['role'] | String | Which role to build | server |
['marketplace_image']['chef_server_version'] | String | Which version of the Chef Server package to install | latest |
['marketplace_image']['reporting_version'] | String | Which version of the Opscode Reporting package to install | latest |
['marketplace_image']['manage_version'] | String | Which version of the Chef Manage package to install | latest |
['marketplace_image']['analytics_version'] | String | Which version of the Chef Analytics package to install | latest |
['marketplace_image']['analytics_version'] | String | The license count for the Chef Server | 5 |
['marketplace_image']['support_email'] | String | Unique email for support requests | [email protected] |
['marketplace_image']['aws']['origin_ami'] | String | The base AMI to build on top of | ami-d9e61db2 |
['marketplace_image']['aws']['server_products'] | Array | An Array of Server products hashes | [{'node_count' => 5, 'product_code' => 'dzsysio0zch27uban3y1c6wh7'}] |
Set the path to the marketplace_builder ssh key in your environment
export MARKETPLACE_BUILDER_SSH_KEY_PATH=~/.ssh/marketplace_builder.pem
Run the kitchen suite for the platform and role you want to test
kitchen test chef-server-aws-centos-66
kitchen test analytics-aws-centos-66
run build rake task for the platform and role you want to test
bundle exec rake publish_aws_analytics
bundle exec rake publish_aws_server
Author:: Chef Partner Engineering ([email protected])