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

aegir3 (6) Versions 0.1.4

Hosting System for Drupal Sites

Policyfile
Berkshelf
Knife
cookbook 'aegir3', '= 0.1.4', :supermarket
cookbook 'aegir3', '= 0.1.4'
knife supermarket install aegir3
knife supermarket download aegir3
README
Dependencies
Quality 43%

aegir3 Cookbook

Aegir is a hosting system for deploying and managing large networks of
Drupal sites. This collection of recipes automate Aegir setup,
specifically for aegir3.

Requirements

Cookbooks:

  • mysql (to install mysql-server properly)

Platforms

  • Debian/Ubuntu

Attributes

  • node['aegir3']['install_method'] - Install method for aegir
  • node['aegir3']['frontend'] - The URL for the aegir frontend
  • node['aegir3']['admin_email'] - The admin email for the aegir site
  • node['aegir3']['webserver'] - The web server aegir should use.

Resources/Providers

aegir3_extension

This LWRP provides an easy way to manage aegir3 extensions

Actions

  • :add: Adds the extension to aegir
  • :remove: removes the extension

Attribute Parameters

  • name: name attribute. The name of the extension to add
  • repository_provision: the git repository for the provision module (drush extension)
  • repository_hosting: the git repository for the hosting module (drupal module)
  • version: the version to used. Should be a git tag that is on the provision and hosting module

Examples

Add the tasks_extra extension:

aegir3_extension 'tasks_extra' do
  repository_provision 'http://git.drupal.org/project/provision_tasks_extra.git'
  repository_hosting 'http://git.drupal.org/project/hosting_tasks_extra.git'
  version '6.x-2.1'
end

Remove the tasks_extra extension:

aegir3_extension 'tasks_extra' do
  action :remove
end

Usage

Simply include the default recipe to get aegir3 installed with the default
package-based method. Different install methods and servers will be supported
in future versions. You can set a custom admin email and frontend URL by using
attributes.

You will most likely need to run the apt::default recipe before this cookbook
can be used.

Usage in roles:

name "aegir3"
description "aegir3 role"
run_list "recipe[apt::default],recipe[aegir3::default]"
default_attributes "aegir3" => {
  "admin_email" => "another@email.please"
}

Local setup

You can easily test this cookbook locally, by installing the following toolchain:
* VirtualBox
* Vagrant
* Chef Development Kit
* Vagrant Berkshelf Plugin

When the above dependencies are installed, you can test this cookbook easily by
simply issuing vagrant up.

Testing

The cookbook is testable with kitchen and foodcritic. The basic tests can be
run through rake.

By issuing bundle exec rake, foodcritic tests are run.

By issuing kitchen test, the cookbook is used on Ubuntu-14.04 and CentOS-7.0.

Contributing

Contributions can be made by using the GitHub Pull Request system.

License and Authors

Author:: Dieter Blomme (dieterblomme@gmail.com)

License and Authors

Copyright:: 2015, Picabit

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

chef-sugar >= 0.0.0
apt >= 0.0.0
php >= 0.0.0
nginx >= 0.0.0
mysql >= 7.1.0
mysql_tuning >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.4 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.4 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.1.4 failed this metric

FC059: LWRP provider does not declare use_inline_resources: aegir3/providers/extension.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.4 passed this metric

No Binaries Metric
            

0.1.4 passed this metric

Testing File Metric
            

0.1.4 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.1.4 passed this metric