The environments provide mechanisms for customising Pallet and Pallet crates according to externally determined criteria.
An environment can be specified at the global, service, invocation and tag scopes.
To provide a global default, specify an
:environment key at the top level
To provide a service specific default, specify an
:environment key at the
service level of
To provide a project specific default, define
To provide a specific environment when invoking
converge, pass an
environment map using the
The merging of values between scopes is key specific, and is determined by
A protocol for accessing an environment.
Returns an environment map
Evaluate an environment literal. This is used to replace certain keys with
objects constructed from the map of values provided. The keys that are
Add the environment to a group.
Returns a map that consists of the rest of the maps
the first. If a key occurs in more than one map, the mapping(s)
from the latter (left-to-right) will be combined with the mapping in
the result by calling
(merge-key key val-in-result val-in-latter).
Map associating keys to merge algorithms. Specifies how environments are merged.
node-specific environment keys
Shell-expand the values matching the specified keys