Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2015-03-24 16:01:51 -05:00
lib/chef/provisioning updated docs and all, i think this is ready for public consumtion 2015-03-24 15:50:55 -05:00
.gitignore updated docs and all, i think this is ready for public consumtion 2015-03-24 15:50:55 -05:00
.travis.yml inital commit 2015-03-23 15:32:25 -05:00
CHANGELOG.md ready for 0.1.0 2015-03-24 16:01:51 -05:00
chef-provisioning-maas.gemspec ready for 0.1.0 2015-03-24 16:01:51 -05:00
Gemfile ready for 0.1.0 2015-03-24 16:01:51 -05:00
LICENSE ready for 0.1.0 2015-03-24 16:01:51 -05:00
Rakefile inital commit 2015-03-23 15:32:25 -05:00
README.md ready for 0.1.0 2015-03-24 16:01:51 -05:00

chef-provisioning-maas

An implementation of the MAAS driver for chef-provisioning.

An example of the recipe you can use:

# coding: utf-8
require 'chef/provisioning'

with_driver 'maas'
Chef::Config.knife[:maas_site] = 'http://10.0.1.138/MAAS/'
Chef::Config.knife[:maas_api_key] = 'zmY4nQFAKE2EmfPP:RkDgWsAPI_KEYnfnKkG6:VBnvv3IS_HERE_gJ7MGSRkUX84npnY9Jg'

machine 'node1' do
  recipe 'base'
  chef_environment '_default'
  machine_options {
      deploy_options: {
      zone: zone2
    }
  }
  converge true
end