Adoptable Cookbooks List

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Abiquo Cookbook

This cookbook provides several recipes to install an upgrade an Abiquo platform.
It allows to provision an Abiquo Monolithic, the Remote Services and a KVM hypervisor
from scratch, as long as upgrading an existing Abiquo installation using the latest
nightly builds.

If Chef will wait for the webapps to be running after restarting Tomcat

Boolean

false

['ssl']['certificatefile']

The path to the SSL certificate

String

"/etc/pki/tls/certs/ca.cert"

['ssl']['keyfile']

The path to the certificate's key

String

"/etc/pki/tls/private/ca.key"

Resources and providers

The Abiquo cookbook provides the following LWRPs:

abiquo_wait_for_webapp

This LWRP will make the Chef run wait until the configured webapp is started.

Parameters

host - The address where the webapp is running

port - The port where the webapp is listening

webapp - The name of the webapp

open_timeout - The timeout to open a connection to the webapp

read_timeout - The timeout to read from a connection to the webapp

Example

abiquo_wait_for_webapp "api" do
host "localhost"
port 8009
retries 3 # Retry if Tomcat is still not started
retry_delay 5
action :wait
end

Usage

The cookbook is pretty straightforwatd to use. Just set the node['abiquo']['profile'] attribute
according to the profile you want to install or upgrade and and include one of the following recipes
in the run list:

recipe[abiquo] - To perform an installation from scratch

recipe[abiquo::upgrade] - To upgrade an existing installation

When installing the Abiquo Monolithic profile, you may also want to set the node['selfsigned_certificate']['cn']
attribute to match the hostname of the node. You can also use it together with the hostname cookbook to make sure the node will have it properly configured.

License and Authors

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.