Equivalent to sudo chef-server-ctl org-list


is there a knife or API equivalent to:

sudo chef-server-ctl org list

I am writing a script to dump the vaults for organizations from a chef workstation and want to not hard-code the organizations I am recursing through to get vaults to dump.

Alternatively, is there a guide to installing the chef server management tools on a chef workstation ?



I have the command knife opc org list on my workstation, but I can't remember if I had to install this gem to get it: https://github.com/chef/knife-opc#knife-opc-org-list


1 Like


The opc plugin looks to be built in. it requires a bit of configuration though.

Thank you