summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/HostingProvider
diff options
context:
space:
mode:
authorSean Whitton2016-06-11 23:00:39 +0900
committerSean Whitton2016-06-12 09:34:51 +0900
commit397204fb1910fad31ead2ed1ba1e226f088856c5 (patch)
treedac189ce75a39ceecbd915e6724b346cbab62513 /src/Propellor/Property/HostingProvider
parent11b82cdaf22402d500d82671fb26550137e8a168 (diff)
include more in flag file
Diffstat (limited to 'src/Propellor/Property/HostingProvider')
-rw-r--r--src/Propellor/Property/HostingProvider/Exoscale.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/Property/HostingProvider/Exoscale.hs b/src/Propellor/Property/HostingProvider/Exoscale.hs
index f7d676d0..a123c54a 100644
--- a/src/Propellor/Property/HostingProvider/Exoscale.hs
+++ b/src/Propellor/Property/HostingProvider/Exoscale.hs
@@ -18,7 +18,9 @@ distroKernel :: Architecture -> Property DebianLike
distroKernel arch = combineProperties "boots distro kernel" $ props
& Grub.installed' Grub.PC
& Apt.installed ["linux-image-" ++ arch]
- & Grub.boots "/dev/vda"
+ -- only these ones are not idempotent so need flag file
& flagFile
- (Grub.mkConfig `before` Reboot.now)
+ (Grub.boots "/dev/vda"
+ `before` Grub.mkConfig
+ `before` Reboot.now)
"/etc/propellor-distro-kernel"