>The others (meaning: at least openstack-nova and aws-ec2) have a completely 
>different API in jclouds: They implement a separate method in their 
>TemplateOptions specializations: userData(byte[] userData). So: why is it that 
>the digitaloceans2 provider follows a different approach here? Resulting code 
>in the jenkins plugin

Right. I think the use of user metadata here is wrong. It is meant for 
providers like OpenStack that support key value pairs in the metadata, but not 
for this. Mind changing it and add the `userData` field to the 
DigitalOceanTemplateOptions, and also [this 
comment](https://github.com/jclouds/jclouds/blob/master/providers/digitalocean2/src/test/java/org/jclouds/digitalocean2/compute/DigitalOcean2ComputeServiceLiveTest.java#L63)
 to properly indicate user metadata (in the form of arbitrary key value pairs) 
is not supported? Thanks!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1042#issuecomment-263226399

Reply via email to