kevinykchan/knife-joyent — pull request #34 by sax (2013-04-06 09:39:05+00:00)
Title: Add support for metadata on server create

There are a few changes here, but the meat of it is to add support for machine metadata on server creation. This can be done in two ways. You can set the following in your knife.rb

```ruby
knife[:joyent_metadata] = {
"key" => "value"
}
```

or you can add the following to the `server create` command line

```bash
--metadata '{"key":"value"}'
```

With the current implementation, only one level of key/value nesting is valid, ie value should be a string instead of another hash. Also, command line keys take precedence over the knife file.

Let me know what you think!