22.16.24. salt.modules.chef

Execute chef in server or solo mode

salt.modules.chef.client(*args, **kwargs)

Execute a chef client run and return a dict with the stderr, stdout, return code, etc.

CLI Example:

salt '*' chef.client server=https://localhost -l debug
salt.modules.chef.ohai(*args, **kwargs)

Execute a ohai and return a dict with the stderr, stdout, return code, etc.

CLI Example:

salt '*' chef.ohai
salt.modules.chef.solo(*args, **kwargs)

Execute a chef solo run and return a dict with the stderr, stdout, return code, etc.

CLI Example:

salt '*' chef.solo config=/etc/chef/solo.rb -l debug

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.16.23. salt.modules.cassandra

Next topic

22.16.25. salt.modules.chocolatey

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.