Skip to content

pallet/pallet-jclouds

Repository files navigation

pallet-jclouds

Build Status

A provider for Pallet, to use jclouds to access many clouds.

Pallet

Pallet is used to provision and maintain servers on cloud and virtual machine infrastructure, and aims to solve the problem of providing a consistently configured running image across a range of clouds. It is designed for use from the Clojure REPL, from clojure code, and from the command line.

  • reuse configuration in development, testing and production.
  • store all your configuration in a source code management system (eg. git), including role assignments.
  • configuration is re-used by compostion; just create new functions that call existing crates with new arguments. No copy and modify required.
  • enable use of configuration crates (recipes) from versioned jar files.

Documentation is available.

Installation

Pallet-jclouds is distributed as a jar, and is available in the sonatype repository.

Installation is with maven or your favourite maven repository aware build tool.

Latest versions

jclouds 1.2.x : pallet-jclouds-1.2.0-alpha1

jclouds 1.3.x : pallet-jclouds-1.3.0

jclouds 1.4.x : pallet-jclouds-1.4.2

jclouds 1.5.x : pallet-jclouds-1.5.4 (jclouds 1.5.5)

jclouds 1.7.x : pallet-jclouds-1.7.3 (jclouds 1.7.2)

lein project.clj

:dependencies [[com.palletops/pallet "0.8.0-RC.8"]
               [com.palletops/pallet-jclouds "1.7.3"]]

maven pom.xml

<dependencies>
  <dependency>
    <groupId>com.palletops</groupId>
    <artifactId>pallet</artifactId>
    <version>0.8.0-RC.8</version>
  </dependency>
  <dependency>
    <groupId>com.palletops</groupId>
    <artifactId>pallet-jclouds</artifactId>
    <version>1.7.3</version>
  </dependency>
<dependencies>

<repositories>
  <repository>
    <id>clojars</id>
    <url>http://clojars.org/repo</url>
  </repository>
</repositories>

Using other jclouds versions

To use a different minor version of jclouds, say 1.7.3, you can use the nearest matching pallet-jclouds version, add exclusions for the default jclouds version in that release, and add jclouds dependencies for the jclouds version you would like.

License

Licensed under EPL

Contributors

Copyright 2010, 2011, 2012, 2013 Hugo Duncan.