cookbook 'maas', '~> 2.0.1'
maas (8) Versions 2.0.1 Follow0
Installs/Configures maas
cookbook 'maas', '~> 2.0.1', :supermarket
knife supermarket install maas
knife supermarket download maas
maas
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
2.0.1 failed this 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
2.0.1 passed this 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
2.0.1 passed this metric
2.0.1 passed this metric