Execute chef in server or solo mode
Execute a chef client run and return a dict with the stderr, stdout, return code, and pid.
CLI Example:
salt '*' chef.client server=https://localhost
The chef server URL
Set the client key file location
The configuration file to use
Directory under which config files are allowed to be loaded (no client.rb or knife.rb outside this path will be loaded).
Set the Chef Environment on the node
Group to set privilege to
Load attributes from a JSON file or URL
Point chef-client at local repository if True
Set the log level (debug, info, warn, error, fatal)
Set the log file location
The node name for this client
Replace current run list with specified items for a single run
Set the PID file location, defaults to /tmp/chef-client.pid
Set maximum duration to wait for another client run to finish, default is indefinitely.
Permanently replace current run list with specified items
User to set privilege to
Set the validation key file location, used for registering new clients
Enable whyrun mode when set to True
Execute a chef solo run and return a dict with the stderr, stdout, return code, and pid.
CLI Example:
salt '*' chef.solo override-runlist=test
The configuration file to use
Set the Chef Environment on the node
Group to set privilege to
Load attributes from a JSON file or URL
Set the log level (debug, info, warn, error, fatal)
Set the log file location
The node name for this client
Replace current run list with specified items for a single run
Pull down a remote gzipped tarball of recipes and untar it to the cookbook cache
Set maximum duration to wait for another client run to finish, default is indefinitely.
User to set privilege to
Enable whyrun mode when set to True