Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

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.

Select Badges

Select Supported Platforms

Select Status

RSS

fog_cloud (4) Versions 0.1.2

LWRPs for managing cloud resources using fog [http://fog.io]

Policyfile
Berkshelf
Knife
cookbook 'fog_cloud', '= 0.1.2', :supermarket
cookbook 'fog_cloud', '= 0.1.2'
knife supermarket install fog_cloud
knife supermarket download fog_cloud
README
Dependencies
Quality -%

fog_cloud

This cookbook provides resources and providers to configure and manage generic cloud resources using fog project. Currently supported resources:
* Volume (fog_cloud_volume)

Requirements

It was tested with Chef 11.8.2 and against Openstack Grizzly installation

Dependencies

Usage

Create volume

fog_cloud_volume 'test' do
  action :create
  size 20 # size of the volume in GB 
  connection({
               :provider => 'OpenStack',
               :openstack_auth_url => node[:openstack_auth_url],
               :openstack_username => node[:openstack_username],
               :openstack_api_key => node[:openstack_api_key],
               :openstack_tenant => node[:openstack_tenant]
  })
end

Destroy volume

fog_cloud_volume 'test' do
  action :destroy
  connection({
               :provider => 'OpenStack',
               :openstack_auth_url => node[:openstack_auth_url],
               :openstack_username => node[:openstack_username],
               :openstack_api_key => node[:openstack_api_key],
               :openstack_tenant => node[:openstack_tenant]
  })
end

Attributes

None yet

Recipes

default.rb

It installs the required deps (build-tools and fog gem)

test.rb

Just for tests and examples

License and Author

Author:: Florin STAN (florin.stan@gmail.com)

Copyright 2014, Florin STAN

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found