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

aegir2 (10) Versions 0.1.3

Hosting System for Drupal Sites

Policyfile
Berkshelf
Knife
cookbook 'aegir2', '= 0.1.3', :supermarket
cookbook 'aegir2', '= 0.1.3'
knife supermarket install aegir2
knife supermarket download aegir2
README
Dependencies
Changelog
Quality 0%

aegir2 Cookbook

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

This cookbook was started as a fork of https://github.com/yevgenko/cookbook-aegir, but was so different, I created a new repository. Thanks for yevgenko for the inspiration!

Requirements

Cookbooks:

  • mysql (to install mysql-server properly)

Platforms

  • Debian/Ubuntu

Attributes

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

Resources/Providers

aegir2_extension

This LWRP provides an easy way to manage aegir2 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:

aegir2_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:

aegir2_extension 'tasks_extra' do
  action :remove
end

Usage

Simply include the default recipe to get aegir2 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 "aegir2"
description "aegir2 role"
run_list "recipe[apt::default],recipe[aegir2::default]"
default_attributes "aegir2" => {
  "admin_email" => "another@email.please"
}

Contributing

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

License and Authors

Copyright:: 2013-2014, 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

mysql >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

aegir2 CHANGELOG

This file is used to list changes made in each version of the aegir2 cookbook.

0.1.3 (2014-09-08)

  • Dieter Blomme - Add LWRP for aegir2 extensions

0.1.2 (2014-08-26)

  • Dieter Blomme - Fixed a bug with the hostname
  • Dieter Blomme - Add berkshelf file (+ Gemfile and Thorfile)

0.1.1 (2014-06-25)

  • Dieter Blomme - Fixed a bug with the template file, wrong keys were used.

0.1.0 (2014-06-24)

  • Dieter Blomme - Initial release of aegir2. Support for package install with apache

Foodcritic Metric
            

0.1.3 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:7
FC017: LWRP does not notify when updated: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/providers/extension.rb:56
FC019: Access node attributes in a consistent manner: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:1
FC019: Access node attributes in a consistent manner: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:2
FC019: Access node attributes in a consistent manner: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:5
FC019: Access node attributes in a consistent manner: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:6
FC019: Access node attributes in a consistent manner: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/attributes/default.rb:7
FC023: Prefer conditional attributes: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/providers/extension.rb:58
FC043: Prefer new notification syntax: /tmp/cook/f0e2f3e50f6b58a2e4a3b123/aegir2/recipes/mysql_secure.rb:27