Uploading environments

When reading the docs on how to upload environments, I am seeing two ways.

  1. knife upload environments
  2. knife environment from file environments/*.json

Is there a reason to use one way over the other?

Historically, 'knife environment from file' was the only option.
Knife-essentials[1] introduced shortcuts for treating your Chef server like
a filesystem. It's knife-essentials that introduced 'knife upload
'. As of Chef11, knife-essentials was merged into core Chef.

HTH

[1] GitHub - jkeiser/knife-essentials: Knife commands to treat the Chef server like a filesystem

George Miranda — Partner Engineering

512.481.2876 – gmiranda@getchef.com – Linkedin
http://www.linkedin.com/in/gmiranda23/ Twitter
https://twitter.com/gmiranda23

CHEF

GETCHEF.COM http://www.getchef.com/

TM

getchef.com http://www.getchef.com/ Blog
http://www.opscode.com/blog/ Facebook
https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef

Deep-dive into Chef with FREE Ask an Architect Sessions at the AWS Pop-Up
Loft in SF http://aws.amazon.com/start-ups/loft/

On Thu, Nov 20, 2014 at 8:47 AM, John de la Garza <
john.garza@rallyhealth.com> wrote:

When reading the docs on how to upload environments, I am seeing two ways.

  1. knife upload environments
  2. knife environment from file environments/*.json

Is there a reason to use one way over the other?