Skip to content

ManjotS/Knife-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Knife-Switcher

An easy way to switch knife.rb configurations for chef without knife block, knife sharp, ruby or gems (for the switching). Cygwin compatible.

Installation:

git clone, then copy to /bin/

Run chmod +x /bin/knife-switcher

Make sure you:

  • you do not have a file named knife.rb
  • you do have your files named as knife-[server name here].rb
  • have your configurations/rb files in ~/.chef/

Flags:

-y prevents prompt to confirm overwrite of knife.rb

Notes:

I like to alias this as ku alias ku='knife-switcher -y'

About

An easy way to switch knife.rb configurations for chef

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages