A simple node list provider.
The node-list provider enables pallet to work with a server rack or existing
virtual machines. It works by maintaining a list of nodes. Each node
minimally provides an IP address, a host name, a group name and an operating
system. Nodes are constructed using
An instance of the node-list provider can be built using
(node-list-service [["host1" "fullstack" "192.168.1.101" :ubuntu] ["host2" "fullstack" "192.168.1.102" :ubuntu]])
Positional factory function for class pallet.compute.node_list.Node.
Positional factory function for class pallet.compute.node_list.NodeList.
Positional factory function for class pallet.compute.node_list.NodeTagStatic.
Make a node representing the local host. This calls
make-node with values
inferred for the local host. Takes options as for
:name "localhost" :group-name "local" :ip "127.0.0.1" :os-family (pallet.compute.jvm/os-family)
Returns a node, suitable for use in a node-list.
Factory function for class pallet.compute.node_list.Node, taking a map of keywords to field values.
Create a node-list compute service, based on a sequence of nodes. Each
node is passed as either a node object constructed with
or as a vector of arguments for
Optionally, an environment map can be passed using the :environment keyword.