From 8576f357c85973b501c95e24187c40827189d5c4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 Oct 2015 15:39:54 -0400 Subject: comment reorg --- src/Propellor/Property/Spin.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Propellor/Property/Spin.hs b/src/Propellor/Property/Spin.hs index 92753aa5..e893ac98 100644 --- a/src/Propellor/Property/Spin.hs +++ b/src/Propellor/Property/Spin.hs @@ -37,8 +37,7 @@ instance Spinnable [Host] where -- propellor on the controlled Hosts. -- -- For example, if you have some webservers and some dnsservers, --- and want a master that runs propellor on all of them, and only updates --- the dnsservers once all the webservers are successfully updated: +-- and want a master that runs propellor on all of them: -- -- > import Propellor -- > import qualified Propellor.Property.Spin as Spin @@ -54,6 +53,7 @@ instance Spinnable [Host] where -- > -- > master = host "master.example.com" -- > & Cron.runPropellor +-- > -- Only update dnsservers once all webservers are successfully updated. -- > & Spin.controller dnsservers -- > `requires` Spin.controller webservers -- -- cgit v1.2.3