Knife node environment_set query

Hi Chefs!!!

Anyone know how can i update the Cookbook Constraints using command line and no interaction.


for an environment called dev - with a cookbook constraint on cookbook sample_cookbook with a current version of 4.0.0 'how can up update the version dev is linked to :

logically I'd have thought :

knife node environment_set dev 'sample_cookbook' '=4.0.1'

if may not even be the node environment argument - i cant work it out ... :slight_smile:

many thanks