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.
It uses jclouds to gain portable access to different cloud providers.
Some basic documentation is available.
Pallet installation and configuration for various software packages is provided via crates. For pallet 0.4.x through 0.6.x, the crates are in the pallet-crates repo. For 0.7.x and on, each crate is in its own repository.
On the mailing list, or #pallet on freenode irc.
There is an introductory screencast, showing a basic node configuration, and starting and stopping a node.
See the basic usage example in the pallet-examples basic project.
For general help getting started with Clojure, see this guide.
Pallet is distributed as a jar, and is available in the sonatype repository.
Installation is with maven or your favourite maven repository aware build tool.
See also the first steps documentation
for instructions on how to create a project with a lein new template.
:dependencies [[org.cloudhoist/pallet "0.7.5"]]
:repositories {"sonatype"
"http://oss.sonatype.org/content/repositories/releases"
"sonatype-snapshots"
"http://oss.sonatype.org/content/repositories/snapshots"}
<dependencies>
<dependency>
<groupId>org.cloudhoist</groupId>
<artifactId>pallet</artifactId>
<version>0.7.5</version>
</dependency>
<dependencies>
<repositories>
<repository>
<id>sonatype</id>
<url>http://oss.sonatype.org/content/repositories/releases</url>
</repository>
<repository>
<id>sonatype-snapshots</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
Licensed under EPL
Copyright 2010 Hugo Duncan.
