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

maas (8) Versions 2.0.1

Installs/Configures maas

Policyfile
Berkshelf
Knife
cookbook 'maas', '~> 2.0.1', :supermarket
cookbook 'maas', '~> 2.0.1'
knife supermarket install maas
knife supermarket download maas
README
Dependencies
Quality 83%

maas

Build Status

Scope

This cookbook installs and configures the main MAAS application and a Cluster Controller via one of the two recipes.

The default.rb will install the default installation of MAAS. While the clustercontroller will only build you a cluster controller.

After it has converged successfully, you should follow the steps installing maas.

Requirements

Ubuntu 14.04 is the only supported distro and version.

It requires the apt cookbook.

Usage

Change the following attributes around via your preferred methods, and select one of the two recipes and run chef.

Attributes

You will want to changes these attributes around, these are the defaults.

Create the Superuser
ruby
default['maas']['create_superuser'] = true

Superuser name
ruby
default['maas']['superuser_name'] = "admin"

Superuser password
ruby
default['maas']['superuser_password'] = "admin"

Superuser email
ruby
default['maas']['superuser_email'] = "fakeemail@fake.com"

The secret for your cluster controller, whatever is on your region controller.
ruby
default['maas']['cluster_secret'] = 'f0a6035342ed1651f822d26fe1ed0109'

Your region controller, just ip or hostname
ruby
default['maas']['cluster_region_controller'] = '127.0.0.1'

Adding another nic after provisioning

If you and another network interface card after your initial provisioning you will have to do the following:
bash
$ sudo dpkg-reconfigure maas-cluster-controller
$ sudo dpkg-reconfigure maas-region-controller

And make sure they are the address on the network you want to have MaaS provision.

Testing

There are chefspec tests which you can run via chef-dk.
bash
$ chef exec rspec spec

There is also kitchen integration tests that you can run via chef-dk.
bash
$ chef exec kitchen test

Dependent cookbooks

apt >= 2.6.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

2.0.1 failed this metric

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

Contributing File Metric
            

2.0.1 passed this metric

Foodcritic Metric
            

2.0.1 passed this metric

No Binaries Metric
            

2.0.1 passed this metric

Testing File Metric
            

2.0.1 passed this metric

Version Tag Metric
            

2.0.1 passed this metric