A puppet module for deploying and managing MaaS
(This is unaffiliated with MaaS.io or Canonical )
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with maas
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Metal as a Service – MAAS – lets you treat physical servers like virtual machines in the cloud. Rather than having to manage each server individually, MAAS turns your bare metal into an elastic cloud-like resource. More information can be found at https://maas.ubuntu.com/docs/
This Puppet module deploys the MAAS packages and provides puppetized Administration of the MAAS Server/Cluster
To quickly install maas using this puppet module run the following command which will bootstrap your puppet installation then install the module and it's necessary components before finally installing and configurating MaaS.
wget https://raw.githubusercontent.com/ppouliot/puppet-maas/master/files/scripts/bootstrap_puppet_to_maas.sh -O - | sh
Additionally to quickly see the module in action assuming you already have vagrant installed.
git clone https://github.com/ppouliot/puppet-maas
cd puppet-maas && vagrant up
- Packages
- maas
- Services
- tbd
- Users
- Default user is
admin
with a default password ofmaasadmin
. Additionally examples of created additional superusers can be found here
- Default user is
- Files
- tbd
- Ubuntu 12.04
- Ubuntu 14.04
- Ubuntu 16.04
Either simply include maas and use hiera for changing params, use PE Console to include maas and put in params there or instanciate class maas and change params within this class (e.g. when using profiles).
Make sure you to install depencency modules (e.g. apt and stdlib) as well (r10k and librarian-puppet should recognize them).
class{'maas':}
maas
: Main Classmaas::params
: Sets the defaults for the maas module parametersmaas::install
: Installs the MAAS packagemaas::config
: A placeholder class for processingmaas::superuser
: Creates MAAS Administrative usersmaas::import_boot_images
: Imports default boot imagesmaas::cluster_controller
: Adds addintional cluster controllers to a region controllermaas::hyperv_power_adapter
: Installs the HyperV power Adapter on MaaS 1.9
- Ubuntu platforms only, specifcally 14.04, 16.04 and 18.04.
Feel free to open pull requests or issues at https://github.com/ppouliot/puppet-maas
- Peter Pouliot peter@pouliot.net
Copyright 2015 Peter J. Pouliot
Peter Pouliot can be contacted at: peter@pouliot.net
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.