diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-07-25 17:48:47 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-07-25 17:48:47 -0400 |
| commit | d35c1c7ad1539da24e6ab071d8d669912f330f0c (patch) | |
| tree | 489bdecd13326907d4cc827b4371d17f4c057e8e /src/Propellor/Property/Rsync.hs | |
| parent | 0f1f0b7a75398bbf1155d429612bd20415731bd1 (diff) | |
new properties
* Added Rsync.installed property.
* Added DiskImage.vmdkBuilt property which is useful for booting
a disk image in VirtualBox.
Diffstat (limited to 'src/Propellor/Property/Rsync.hs')
| -rw-r--r-- | src/Propellor/Property/Rsync.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Property/Rsync.hs b/src/Propellor/Property/Rsync.hs index 53baa74e..5665ab91 100644 --- a/src/Propellor/Property/Rsync.hs +++ b/src/Propellor/Property/Rsync.hs @@ -60,4 +60,7 @@ syncDirFiltered filters src dest = rsync $ rsync :: [String] -> Property (DebianLike + ArchLinux) rsync ps = cmdProperty "rsync" ps `assume` MadeChange - `requires` Apt.installed ["rsync"] `pickOS` Pacman.installed ["rsync"] + `requires` installed + +installed :: Property (DebianLike + ArchLinux) +installed = Apt.installed ["rsync"] `pickOS` Pacman.installed ["rsync"] |
