diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-16 15:39:54 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-16 15:39:54 -0400 |
| commit | 8576f357c85973b501c95e24187c40827189d5c4 (patch) | |
| tree | 1410eb9a9e5211e8f073d604c7e50077d8dcecda /src | |
| parent | 7f7249f801653e0bd7fa083ed001bf3c5a3c3900 (diff) | |
comment reorg
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Spin.hs | 4 |
1 files 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 -- |
