Skip to content

akrasic/souschef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages