Project

souschef

0.0
No release in over 3 years
Chef helper to get you started fast
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.6
>= 0

Runtime

 Project Readme

souschef

CLI utility to interact with Chef server

Chef server API docs

https://chef-server-api-docs.chef.io/

Profiles - Chef and Cinc

Supports using profiles from standard locations for:

  • Chef ~/.chef/knife.rb
  • Cinc ~/.cinc/knife.rb

If you have a configuration file in a non-standard location you can use -c or --config flag to use the path to the file.

Example:

souschef -p cinc ...
souschef -p chef ...

souschef -c /some/path/knife.rb ... 
  

Supported operations:

  • search
  • node list | show | ssh
  • roles list | show
  • environment list | show
  • data bag list | show (encrypted data bag items not supported yet)
  • ssh

SSH usage

For using SSH in node ssh NODE or ssh subcommand a valid ~/.ssh/config would be needed, as the process would spawn a SSH client, equivalent to the ssh NODE command.

If you want to specify a username, use -x as:

  souschef knife ssh NODE -x user
  souschef ssh 'search:query' 'command' -x user