chef-infraknife

chef knife command to show all attributes


I am trying to display all attributes for all nodes using a single knife command. I would specifically like to see the attributes set at the normal level

please help


Solution

  • knife node show $name --format json --long. Or the shorter form knife node show $name -Fj -l. (if you just want normal attrs you can also use -m/--medium)