This repository was archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Command Line Reference
Mathias Lafeldt edited this page Feb 9, 2015
·
2 revisions
chef-runner is a simple command-line tool that has a couple of options:
Usage: chef-runner [options] [--] [<recipe>...]
-H, --host <name> Name of host reachable over SSH
-M, --machine <name> Name or UUID of Vagrant virtual machine
-K, --kitchen <name> Name of Test Kitchen instance
-L, --local Provision host system
--ssh <option> Add OpenSSH option as specified in ssh_config(5)
--rsync <option> Add Rsync option as listed in rsync(1)
--resolver <name> Name of cookbook dependency resolver
-i, --install-chef <version> Install Chef (x.y.z, latest, true, false)
default: false
-F, --format <format> Chef output format (null, doc, minimal, min)
default: doc
-l, --log_level <level> Chef log level (debug, info, warn, error, fatal)
default: info
-j, --json-attributes <file> Load attributes from a JSON file
--sudo=false Do not run commands with sudo (enabled by default)
--color=false Disable colorized output (enabled by default)
-h, --help Show help text
--version Show program version