Run list override with cookbook version?

I know I can do this on a node

Ø chef-client -o “recipe[java_install]”

But how do I specify a certain cookbook version?

Chris

I probably wouldn't recommend using the override syntax for this, but
it may be possible:

chef-client -o recipe\[java_install@1.2.3\]

It may be preferential to apply a restriction to your environment by
another means: Environment, Chef Server Universe, Berkshelf, git
repository, etc.

You can use this same hidden version-specifier syntax in roles, then
apply the role through -o, for another idea. No idea how long it will
be around for.

cheers,

--aj

On Sat, Jan 10, 2015 at 10:08 AM, Fouts, Chris Chris.Fouts@sensus.com wrote:

I know I can do this on a node

Ø chef-client -o “recipe[java_install]”

But how do I specify a certain cookbook version?

Chris