From 99599182fa6c5a244411fe2cb113c227c618f8df Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 20 Oct 2015 12:43:39 -0400 Subject: comment --- .../comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/todo/hooks/comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment (limited to 'doc') diff --git a/doc/todo/hooks/comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment b/doc/todo/hooks/comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment new file mode 100644 index 00000000..a2a2416d --- /dev/null +++ b/doc/todo/hooks/comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-10-20T16:40:43Z" + content=""" +There's `endAction` which can be used to register an action to run after +all properties have run. This could pretty easily be extended to take +a MVar associated with the action and use it to only run the action once. + +However, running actions at the end of the propellor run doesn't let other +properties depend on the results of those actions. If an property +configures apache, and another property somehow depends on apache being +configured, deferring the apache restart to an endAction wouldn't work. +"""]] -- cgit v1.2.3