cookbook 'maas', '= 1.1.1'
maas (8) Versions 1.1.1 Follow0
Installs/Configures maas
cookbook 'maas', '= 1.1.1', :supermarket
knife supermarket install maas
knife supermarket download maas
maas
This is a cookbook to deploy maas via chef.
It requires the apt
cookbook.
Ubuntu 14.04 is the only supported distro and version.
After it has converged successfully, you should follow the steps installing maas.
Attributes
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"
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.
Foodcritic Metric
1.1.1 failed this metric
FC023: Prefer conditional attributes: /tmp/cook/01afa830593264739389fb1b/maas/recipes/default.rb:23
FC031: Cookbook without metadata file: /tmp/cook/01afa830593264739389fb1b/maas/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/01afa830593264739389fb1b/maas/metadata.rb:1
1.1.1 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/01afa830593264739389fb1b/maas/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/01afa830593264739389fb1b/maas/metadata.rb:1