summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2015-10-20 12:43:39 -0400
committerJoey Hess2015-10-20 12:43:39 -0400
commit99599182fa6c5a244411fe2cb113c227c618f8df (patch)
treebff15ae43adf1a24d77f127db5049b90be28432f
parent40874b779677afa3a5b8d40fe4fe2614170c61a6 (diff)
comment
-rw-r--r--doc/todo/hooks/comment_1_4ca9e46f36d0fae334d9c2f2c211d0e3._comment14
1 files changed, 14 insertions, 0 deletions
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.
+"""]]