You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to palle...@googlegroups.com
Hi! I wonder if someone could clarify a couple of things about Pallet's concept of phases.
I understand that :bootstrap, :settings and :configure have special significance and can be considered part of a Pallet operations lifecycle. But from what I can tell at the moment it seems that phases outside these are merely arbitrary bundles of crates and operations. Is there any native concept of a custom lifecycle (like [:bootstrap :configure :install-app-server :run-the-thing]) in which given a later phase, Pallet will automatically go through all earlier ones? I realise it's possible to code that up, but just in case I'm missing something...
Separately, but relatedly, is there a Pallet-idiomatic way of storing on a node the phases through which it has been taken? E.g. in pallet-state (/var/lib/pallet) a list of phases which had been applied. Something like that would help in cases where there is a meaningful notion of 'ensure idempotently' for a phase.
Jon
Hugo Duncan
unread,
Jun 10, 2014, 9:48:46 AM6/10/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to palle...@googlegroups.com
Both converge and lift can be passed a sequence of phases to execute.
The default phases can be specified as a sequence on the
`:default-phases` key of a server or group spec. The default-phases are
composed when using `:extends` on a server-spec.