summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Reboot.hs
diff options
context:
space:
mode:
authorJoey Hess2014-12-06 13:32:53 -0400
committerJoey Hess2014-12-06 13:32:53 -0400
commitbdbf787e2cf1123429491da5f06f46a8dc8774f6 (patch)
treea8f89b7f3c5406bc118ff14057fe86e4cc2145d1 /src/Propellor/Property/Reboot.hs
parentde02fa9f7b25d6b5dc27b0af3dd91a40f0c80fca (diff)
keep and use Reboot.now
Diffstat (limited to 'src/Propellor/Property/Reboot.hs')
-rw-r--r--src/Propellor/Property/Reboot.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Propellor/Property/Reboot.hs b/src/Propellor/Property/Reboot.hs
index 3a725838..c2628689 100644
--- a/src/Propellor/Property/Reboot.hs
+++ b/src/Propellor/Property/Reboot.hs
@@ -3,6 +3,10 @@ module Propellor.Property.Reboot where
import Propellor
import Utility.SafeCommand
+now :: Property
+now = cmdProperty "reboot" []
+ `describe` "reboot now"
+
-- | Schedules a reboot at the end of the current propellor run.
--
-- The Result code of the endire propellor run can be checked;