bob5ec / kitchen-debian

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kitchen::Debian

A Test Kitchen Driver for Debian.

Build Status

Requirements

TODO: document any software or library prerequisites that are required to use this driver. Implement the #verify_dependencies method in your Driver class to enforce these requirements in code, if possible.

Installation and Setup

  1. Download a Debian install medium and start it
  2. Hit escape key
  3. Type install auto=true priority=critical preseed/url=https://raw.githubusercontent.com/bob5ec/kitchen-debian/master/preseed Please read the Driver usage page for more details.

TODOs

  • deploy vault docker image somewhere
  • create deploy script to register new debian installation within vault create ssh key and put IP along with private key into vault
  • create kitchen.io plugin to provide newly created installation to kitchen

preseed

  • german keyboard
  • upgrade packages
  • set mirror

Configuration

TODO: Write descriptions of all configuration options

require_chef_omnibus

Determines whether or not a Chef Omnibus package will be installed. There are several different behaviors available:

  • true - the latest release will be installed. Subsequent converges will skip re-installing if chef is present.
  • latest - the latest release will be installed. Subsequent converges will always re-install even if chef is present.
  • <VERSION_STRING> (ex: 10.24.0) - the desired version string will be passed the the install.sh script. Subsequent converges will skip if the installed version and the desired version match.
  • false or nil - no chef is installed.

The default value is unset, or nil.

Development

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:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

Created and maintained by bob5ec (bob5ec@users.noreply.github.com)

License

Apache 2.0 (see LICENSE)

About

License:Other


Languages

Language:Ruby 73.9%Language:Shell 26.1%