kohkimakimoto/altax-chef

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Runs chef-solo via altax.

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

This package is auto-updated.

Last update: 2021-09-06 17:22:26 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...]