I'm totally cool with a "with" here.  Could we do this instead though?

with_chef_config :versioned_cookbooks => true do
 ...

Makes it a little clearer how the configuration got there, and will be more flexible to boot.  Not a huge thing though, if you'd prefer to do it this way for now I can do it later.