better property names

This commit is contained in:
Joey Hess 2014-11-23 19:49:53 -04:00
parent 1ac0c5bb5f
commit f85026da7f
1 changed files with 12 additions and 10 deletions

View File

@ -3,7 +3,9 @@ module Propellor.Property.OS (
Confirmation Confirmation
confirm, confirm,
fixupNetworkAddresses, fixupNetworkAddresses,
fixupRootSsh, rootSshAuthorized,
grubBoots,
kernelInstalled,
oldOSRemoved, oldOSRemoved,
) where ) where
@ -33,9 +35,9 @@ import qualified Propellor.Property.Debootstrap as Debootstrap
-- > & cleanInstall (Context "foo.example.com") (BackupOldOS <> UseOldKernel) -- > & cleanInstall (Context "foo.example.com") (BackupOldOS <> UseOldKernel)
-- > `onChange` propertyList "fixing up after clean install" -- > `onChange` propertyList "fixing up after clean install"
-- > [ fixupNetworkInterfaces -- > [ fixupNetworkInterfaces
-- > , fixupRootSsh -- > , rootSshAuthorized
-- > -- , installDistroKernel -- > -- , kernelInstalled
-- > -- , installGrub -- > -- , grubBoots "hd0"
-- > ] -- > ]
-- > & Apt.installed ["ssh"] -- > & Apt.installed ["ssh"]
-- > & User.hasSomePassword "root" -- > & User.hasSomePassword "root"
@ -85,16 +87,16 @@ fixupNetworkInterfaces :: Property
fixupNetworkInterfaces = undefined fixupNetworkInterfaces = undefined
-- /root/.ssh/authorized_keys is copied from the old os -- /root/.ssh/authorized_keys is copied from the old os
fixupRootSsh :: Property rootSshAuthorized :: Property
fixupRootSsh = undefined rootSshAuthorized = undefined
-- Installs an appropriate kernel from the distribution. -- Installs an appropriate kernel from the distribution.
installDistroKernel :: Property kernelInstalled :: Property
installDistroKernel = undefined kernelInstalled = undefined
-- Installs grub to boot the system. -- Installs grub to boot the system.
installGrub :: Property grubBoots :: GrubDev -> Property
installGrub = undefined grubBoots = undefined
-- Removes the old OS's backup from /old-os -- Removes the old OS's backup from /old-os
oldOSRemoved :: Property oldOSRemoved :: Property