cookbook 'cloudstack_wrapper', '~> 0.3.5'
cloudstack_wrapper (4) Versions 0.3.5 Follow0
Configures and Customize Apache CloudStack using cookbook cloudstack libraries
cookbook 'cloudstack_wrapper', '~> 0.3.5', :supermarket
knife supermarket install cloudstack_wrapper
knife supermarket download cloudstack_wrapper
cloudstack_wrapper Cookbook
Chef wrapper cookbook to install Apache Cloudstack
using cloudstack cookbook. Installation examples and provide installation order of various CloudStack components.
In this wrapper example, if you want to install a CloudStack management server
with all dependencies such as installing MySQL server, system VM template for
XenServer, use cloudstack_wrapper::all_in_one
recipe.
Requirements
cookbooks
-
cloudstack
- cloudstack cookbook provide libraries to install and configure CloudStack. -
mysql
- mysql cookbook is used to install MySQL server required by CloudStack. -
nfs
- nfs cookbook used for secondary storage and to import systemvm-templates.
Usage
cloudstack_wrapper::all_in_one
Configure a CloudStack Management server which will contain:
- local MySQL server
- initialize CloudStack database
- setup nfs share: /data/secondary
for the secondary storage
- Download XenServer SystemVM template.
- Download vhd-util script.
- start cloudstack-management
- install and start cloudstack-usage
- Generate API keys for "admin"
Just include cloudstack_wrapper::all_in_one
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[cloudstack_wrapper::all_in_one]" ] }
cloudstack_wrapper::dev_all_in_one
Same as all_in_one
but set the Global Setting system.vm.use.local.storage
to use Local Storage for System VMs.
cloudstack_wrapper::management_server
- Install cloudstack-management
- Initialise cloudstack database on remote MySQL server.
- Download system vm template using remote NFS share.
- Start cloudstack-management
- Generage API keys for "admin".
cloudstack_wrapper::mgt_remotenfs
Use Remote NFS share for Secondary Storage. Management server and cloudstack_usage
locally.
cloudstack_wrapper::mgt_db_remotenfs
Install management server, cloudstack_usage, and MySQL server and use remote NFS
shares.
cloudstack_wrapper::database_server
Install MySQL server with tuning required by CloudStack.
cloudstack_wrapper::nfsshares
Configure NFS server to export Primary and Secondary Storages shares.
Contributing
Fork it and customize it for your needs.
Fill Github issues
if you get into problems.
License and Authors
- Author:: Pierre-Luc Dion (pdion@cloudops.com)
Copyright:: Copyright (c) 2015 CloudOps.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
mysql = 6.1.3 |
cloudstack >= 3.0.0 |
nfs >= 2.0.0 |
selinux >= 0.8.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
cloudstack_wrapper CHANGELOG
This file is used to list changes made in each version of the cloudstack_wrapper cookbook.
0.3.3
- pdion - remove global settings change that cause error.
0.3.2
- ccontini - Limit the Queue Size
0.3.1
- ccontini - Add 172.31/16 range to lab machines
0.3.0
- ccontini - Change rsyslog template to forward to lab or prod depending on the IP
0.2.8
- ccontini - remove expunge delay in all_in_one recipe
0.2.7
- ccontini - Handle vhost definition as an environment attribute.
0.2.6
- ccontini - Add eventlog config.
0.2.5
- ccontini - Forward cloudstack messages using SimpleForward.
0.2.4
- ccontini - add a cloudstack specific rsyslog config.
0.2.3
- ccontini - add log4j recipe for ACS4.7.x
0.2.1
- pdion891 - Add Berkshelf support. - fix selinux for database server. - add customized log4j-cloud.xml for ACS 4.7.x 0.2.0 -----
- pdion891 - update use of mysql cookbook to suport version 6.
0.1.3
- pdion891 - upgrade license date - update README
0.1.2
- pdion891 - rename
hypervisor_tpl
bysystemvm
0.1.1
- pdion891 - add admin_apikey and admin_secretkey to cloudstack_global_setting resources
0.1.0
- pdion891 - Initial release of cloudstack_wrapper
Collaborator Number Metric
0.3.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.5 failed this metric
FC064: Ensure issues_url is set in metadata: cloudstack_wrapper/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudstack_wrapper/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudstack_wrapper/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.5 passed this metric
Testing File Metric
0.3.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.5 passed this metric
0.3.5 failed this metric
0.3.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.5 failed this metric
FC064: Ensure issues_url is set in metadata: cloudstack_wrapper/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudstack_wrapper/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudstack_wrapper/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.5 passed this metric
Testing File Metric
0.3.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.5 passed this metric
0.3.5 failed this metric
FC065: Ensure source_url is set in metadata: cloudstack_wrapper/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudstack_wrapper/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.5 passed this metric
Testing File Metric
0.3.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.5 passed this metric
0.3.5 failed this metric
0.3.5 passed this metric