pallet.compute documentation

Abstraction of the compute interface

admin-group

[target]

User that remote commands are run under

base-distribution

[target]

Base distribution for the target.

boot-if-down

[compute nodes]

Boot the specified nodes, if they are not running.

compute-service

[provider-name & {:keys [identity credential extensions node-list endpoint environment sub-services], :as options}]

Instantiate a compute service. The provider name should be a recognised jclouds provider, or "node-list". The other arguments are keyword value pairs. - :identity username or key - :credential password or secret - :extensions extension modules for jclouds - :node-list a list of nodes for the "node-list" provider. - :environment an environment map with service specific values.

ensure-os-family

[compute group-spec]

Called on startup of a new node to ensure group-spec has an os-family attached to it.

nodes

[compute]

List nodes

packager

[target]

Package manager

reboot

[compute nodes]

Reboot the specified nodes

shutdown

[compute nodes user]

Shutdown specified nodes

shutdown-node

[compute node user]

Shutdown a node.

supported-providers

[]

A list of supported provider names. Each name is suitable to be passed to compute-service.