summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton2019-04-03 07:49:03 -0700
committerJoey Hess2019-04-03 12:11:52 -0400
commit9d682a8340ce8b8ada18dd378a9869a71a279427 (patch)
treee85807269bb900e53f34d399f0adb87aa15f110b
parent3baf3a03b764b0a61254af7fa175a427a5455790 (diff)
rename Propellor.Property.{PropellorRepo -> Localdir}
This is to accommodate a new property in that module which is about /usr/local/propellor, but not only about the git repo there. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--propellor.cabal2
-rw-r--r--src/Propellor/Property/Localdir.hs (renamed from src/Propellor/Property/PropellorRepo.hs)4
-rw-r--r--src/Propellor/Spin.hs2
3 files changed, 5 insertions, 3 deletions
diff --git a/propellor.cabal b/propellor.cabal
index eb36728e..e1179b19 100644
--- a/propellor.cabal
+++ b/propellor.cabal
@@ -104,6 +104,7 @@ Library
Propellor.Property.Libvirt
Propellor.Property.List
Propellor.Property.LightDM
+ Propellor.Property.Localdir
Propellor.Property.Locale
Propellor.Property.Logcheck
Propellor.Property.Lvm
@@ -120,7 +121,6 @@ Library
Propellor.Property.Parted.Types
Propellor.Property.Partition
Propellor.Property.Postfix
- Propellor.Property.PropellorRepo
Propellor.Property.Prosody
Propellor.Property.Qemu
Propellor.Property.Reboot
diff --git a/src/Propellor/Property/PropellorRepo.hs b/src/Propellor/Property/Localdir.hs
index 825efdfd..5d8e2033 100644
--- a/src/Propellor/Property/PropellorRepo.hs
+++ b/src/Propellor/Property/Localdir.hs
@@ -1,6 +1,8 @@
{-# LANGUAGE DeriveDataTypeable #-}
-module Propellor.Property.PropellorRepo where
+-- | Properties to manipulate propellor's @/usr/local/propellor@ on spun hosts
+
+module Propellor.Property.Localdir where
import Propellor.Base
import Propellor.Git.Config
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs
index 1fb4d7e4..7f479f10 100644
--- a/src/Propellor/Spin.hs
+++ b/src/Propellor/Spin.hs
@@ -29,7 +29,7 @@ import Propellor.Gpg
import Propellor.Bootstrap
import Propellor.Types.CmdLine
import Propellor.Types.Info
-import Propellor.Property.PropellorRepo (OriginUrl(..))
+import Propellor.Property.Localdir (OriginUrl(..))
import qualified Propellor.Shim as Shim
import Utility.SafeCommand
import Utility.Process.NonConcurrent