kohkimakimoto/altax-chef

Runs chef-solo via altax.

dev-master 2014-03-06 10:37 UTC

This package is auto-updated.

Last update: 2024-11-06 23:52:31 UTC


README

Runs chef-solo via altax and Git.

NOTE: This product is in development stag, So I sometimes break code.

Requirement

I tested it on the following environments.

  • CentOS6
  • PHP5.4

Installation

Edit your .altax/composer.json file like the following.

{
  "require": {
    "kohkimakimoto/altax-chef": "dev-master"
  }
}

Run altax update.

$ altax update

Add the following code your .altax/config.php file.

Task::register("chef", 'Altax\Contrib\Chef\Command\ChefCommand')
->config(array(
    "repo" => "git@github.com:your/chef-reposigory.git"
))
;

Usage

Installs chef package to remote node.

altax chef node [node...] --prepare

Runs chef-solo using run_list nodes/${HOSTNAME}.json

altax chef node [node...]