Commit Graph

7156 Commits

Author SHA1 Message Date
Ignasi Barrera 12453a66a1 Added data bag support to Chef Solo
Since Chef 0.10.4, Solo also allows to define data bags that can be used
in cookbooks. This commit enables dataBag support, allowing users to
define custom databags before executing the runlist of the node.
2012-11-10 14:15:21 +01:00
Ignasi Barrera ee8e82f57b Added support for Role definition in Chef Solo
Allow to define Roles on the fly when configuring the Chef Solo
statement in order to be able to use them later when defining the run
list for the compute node.
2012-11-10 14:15:21 +01:00
Ignasi Barrera e4fd8f2995 Added support for custom json attributes in Chef Solo 2012-11-10 14:15:21 +01:00
Adrian Cole a6b94c9fa2 Merge pull request #973 from dralves/oauth
ClaimSet equals contract was preventing cache from working
2012-11-08 22:19:55 -08:00
Adrian Cole 7d33d018f5 Merge pull request #972 from rackspace/rax-cbs
Rackspace Cloud Block Storage providers for the OpenStack Cinder API.
2012-11-08 22:19:00 -08:00
Everett Toews 5cb1f2e426 Rackspace Cloud Block Storage providers for the OpenStack Cinder API. 2012-11-08 22:17:27 -06:00
David Ribeiro Alves 38be409951 corrected ClaimSet equals contract that was preventing cache from workign 2012-11-08 20:39:44 -06:00
Adrian Cole 3aa47bb499 Merge pull request #971 from jclouds/override-timeout-cloudstack-ec2
added configuration necessary to override timeout default for ami create
2012-11-08 15:19:51 -08:00
Adrian Cole 3906b196b6 added configuration necessary to override timeout default for ami create 2012-11-08 15:48:16 -03:00
Adrian Cole 6a1a468e4e Merge pull request #963 from rackspace/openstack-cinder
Added support for the OpenStack Cinder Block Storage API.
2012-11-08 07:57:44 -08:00
Everett Toews 3292701883 Added support for the OpenStack Folsom Cinder Block Storage API. 2012-11-08 09:16:52 -06:00
Adrian Cole 851e7bf6ec Merge pull request #969 from andrewgaul/splitter-omit-empty-strings
Improve use of Splitter.omitEmptyStrings
2012-11-08 05:13:09 -08:00
Andrew Gaul cca02ae02d Improve use of Splitter.omitEmptyStrings 2012-11-07 22:30:52 -08:00
Adrian Cole 674e8f6c04 Merge pull request #920 from dralves/oauth
Oauth v2
2012-11-07 19:32:48 -08:00
David Ribeiro Alves fa27c74373 oauth v2 implementation 2012-11-07 17:02:39 -06:00
Adrian Cole 6352cbccfd Merge pull request #967 from jclouds/better-factory-javadoc
improved javadoc including where to look for alternative syntax
2012-11-07 07:43:44 -08:00
Adrian Cole c7c27e12e2 improved javadoc including where to look for alternative syntax 2012-11-07 12:02:52 -03:00
Adrian Cole d557b581e3 Merge pull request #965 from rackspace/openstack-nova-volume-attachment-api
OpenStack Nova Volume Attachment API
2012-11-07 06:45:49 -08:00
Adrian Cole 974a6018fd Merge pull request #966 from jclouds/base64-tidy
base64 tidies
2012-11-07 06:11:09 -08:00
Everett Toews 2682759b49 Moved the Volume Attachment stuff into its own API to make it totally clear to users that this is the API to use for attaching volumes. 2012-11-07 07:46:11 -06:00
Adrian Cole 489783d5c3 renamed syntax of base64 url-safe to be consistent with guava 14 + fixed bad import from prior PR 2012-11-07 10:43:56 -03:00
Adrian Cole 36e7c1664a Merge pull request #964 from rackspace/keystone-support-for-cinder
Added Cinder service to Keystone test service catalog repsonses.
2012-11-06 15:30:05 -08:00
Everett Toews 1636c1f89d Added Cinder service to Keystone test service catalog repsonses. 2012-11-06 14:43:03 -06:00
Adrian Cole 48eab9bf3d Merge pull request #962 from andrewgaul/checkstyle-simplify-boolean-expression
Ensure simple boolean expressions via Checkstyle
2012-11-06 05:05:13 -08:00
Adrian Cole 795fa15147 fixed broken build 2012-11-06 10:02:12 -03:00
Adrian Cole c7cff5cc94 Merge pull request #950 from nacx/chef-solo
Added basic Chef Solo support
2012-11-05 11:42:10 -08:00
Andrew Gaul de82496aae Ensure simple boolean expressions via Checkstyle 2012-11-05 11:41:16 -08:00
Adrian Cole 64a8fd0cbb Merge pull request #961 from andrewgaul/checkstyle-collection-helpers
Enforce use of Collection helpers via Checkstyle
2012-11-05 11:38:49 -08:00
Adrian Cole 760824800e Merge pull request #959 from andrewgaul/checkstyle-multiple-variable-declarations
Enforce a single variable declaration per line
2012-11-05 11:36:32 -08:00
Adrian Cole 6eb0cd197f Merge pull request #945 from nacx/scriptbuilder-install
Improved setupPublicCurl script
2012-11-05 11:30:44 -08:00
Adrian Cole 1ff91e508d Merge pull request #960 from andrewgaul/filesystem-blobkeys-container
Ensure that callers get a well-behaving Set
2012-11-05 11:26:59 -08:00
Adrian Cole 63602feb2c refactored cloudstack expect tests and added CloudStackComputeServiceAdapterExpectTest 2012-11-05 11:28:01 -03:00
Andrew Gaul 3d191253ec Enforce use of Collection helpers via Checkstyle
This ensures that we do not repeat the type name.  Some instances remain
due to auto-generated code in dmtf/cim/Cim*.
2012-11-04 20:45:49 -08:00
Andrew Gaul ffc2fb0eb4 Ensure that callers get a well-behaving Set
Returning a container with a custom add method could confuse callers.
Provide same functionality via Function.
2012-11-04 19:31:31 -08:00
Andrew Gaul 9d643b569a Enforce a single variable declaration per line 2012-11-04 17:37:16 -08:00
Adrian Cole 55025c0764 Merge pull request #954 from andrewgaul/specific-asserts
Prefer specific asserts where possible
2012-11-04 17:24:47 -08:00
Adrian Cole c00ef4c941 Merge pull request #956 from andrewgaul/checkstyle-illegal-throws
Enforce no illegal throws via Checkstyle
2012-11-04 17:14:14 -08:00
Adrian Cole f1333801dd Merge pull request #953 from aledsage/Setting-RunScriptOnNode.Factory
Setting RunScriptOnNode.factory
2012-11-04 17:12:18 -08:00
Andrew Gaul b7bd46282b Merge pull request #955 from jclouds/base64-urlsafe
Issue 1120: support base64 encode/decode for url applications
2012-11-04 16:39:54 -08:00
Andrew Gaul 41154d552c Enforce no illegal throws via Checkstyle
Also remove a stray unused import.
2012-11-04 15:48:44 -08:00
Adrian Cole 2c900d1bab Issue 1120: support base64 encode/decode for url applications 2012-11-04 15:38:13 -08:00
Adrian Cole f4333157b9 make tests that decode credentials use valid base64 encoded strings 2012-11-04 15:37:49 -08:00
Andrew Gaul bfa3458b97 Prefer specific asserts where possible 2012-11-04 14:40:24 -08:00
Aled Sage 43d6155341 Set EC2 windows-template image id for testing
- Identify the windows-template AMI using id rather than name-matching
2012-11-04 22:29:52 +00:00
Aled Sage 3f3037c729 Support for setting RunScriptOnNode.Factory
- Set default RunScriptOnNode.Factory impl using @ImplementedBy,
  rather than hardcoding the binding
2012-11-04 22:29:52 +00:00
Ignasi Barrera 6b903df372 Refactored Ruby installation into a function
Refactored Ruby installation into a separate function, and use the
Statements method to download and extract the Rubygems tarball.
2012-11-04 21:47:03 +01:00
Ignasi Barrera 3adb6a3efb Added basic Chef Solo support
Added basic support for Chef Solo, allowing users to bootstrap nodes
with Chef without having a Chef Server.

In order to bootstrap the nodes, a tarball with the cookbooks must be
made available to the node. This can be done by uploading the file to
the node using the jclous ssh client, or by providing a public URL where
the tarball can be downloaded from. The tarball *must* have a root
folder called *cookbooks* and all cookbooks must be inside it.

Once the tarball is available, the ChefSolo statement can be used to
generate the bootstrap script.
2012-11-04 21:47:03 +01:00
Ignasi Barrera 652bc2f75e Improved setupPublicCurl script
With this changes, apt and yum helper functions can be used to install
many packages at one as follows:
ensure_cmd_or_install_package_apt git git-core build-essentials <...>
2012-11-04 19:43:39 +01:00
Adrian Cole 9212d4ff26 Merge pull request #952 from jclouds/remote-resources-plugin-version
update and centralize plugin version for maven-remote-resources-plugin
2012-11-04 09:11:49 -08:00
Adrian Cole beb36eac75 Merge pull request #940 from andrewgaul/checkstyle-misc
Miscellaneous Checkstyle fixes
2012-11-04 08:50:47 -08:00