Gogetkitchen
A test kitchen driver for Gogetit. Due to the collision of namespace with Kitchen::Driver, it is named as Gogetkitchen not Gogetit.
Requirements
https://github.com/itisnotdone/gogetit
Installation and Setup
Please read the Driver usage page for more details.
$ export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
$ gem install kitchen-gogetkitchen
Configuration
For lxd provider
---
driver:
name: gogetkitchen
provisioner:
name: chef_zero
transport:
ssh_key: <%= Dir.home + '/.ssh/id_rsa' %>
platforms:
- name: lxc01
driver:
provider: lxd
alias: default
maas-on-lxc: true
suites:
- name: default
run_list:
- recipe[all_nodes::default]
attributes:
For kvm(libvirt) provider
---
driver:
name: gogetkitchen
provisioner:
name: chef_zero
transport:
ssh_key: <%= Dir.home + '/.ssh/id_rsa' %>
platforms:
- name: kvm01
driver:
provider: kvm
distro: bionic
suites:
- name: default
run_list:
- recipe[all_nodes::default]
attributes:
Provider specific behaviors
For KVM(Libvirt)
- It will always use
deploy
/release
pair oncecreate
d. ### For LXD - It is able to convey
options
which Gogetit LXD provider comsumes.
Uninstall
Please read the Driver usage page for more details.
gem uninstall kitchen-gogetkitchen gogetit maas-client
Development
- Source hosted at GitHub
- Report issues/questions/feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:
- Fork the repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Authors
Created and maintained by Don Draper ([email protected])
License
Apache 2.0 (see LICENSE)