summaryrefslogtreecommitdiff
path: root/src/Propellor
AgeCommit message (Collapse)Author
2017-07-30Set GPG_TTY when run at a terminalJoey Hess
so that gpg can do password prompting despite being connected by pipes to propellor (or git).
2017-07-29Rsync: Make rsync display less verbose.Joey Hess
2017-07-29Expand the Trace data type.Joey Hess
Technically this is an API change, but the only thing I'm breaking at this point is my own unreleased software.
2017-07-29Added PROPELLOR_TRACE environment variableJoey Hess
which can be set to 1 to make propellor output serialized Propellor.Message.Trace values, for consumption by another program. This commit was sponsored by Ewen McNeill.
2017-07-29Rsync: Make rsync display its progress, in a minimal format to avoid ↵Joey Hess
scrolling each file down the screen.
2017-07-29improve commentJoey Hess
2017-07-28Added Mount.isMounted.Joey Hess
* Added Mount.isMounted. * Grub.bootsMounted: Bugfix.
2017-07-28Grub.bootsMounted: Avoid failing when proc sys etc are already mounted ↵Joey Hess
within the chroot. Perhaps it should keep track of what was mounted before and restore it, but it would complicate it a lot, and I doubt it would be needed by any use of this property. Usually, this property will come after a chroot provisioning property, which may leave proc and sys mounted, but that's done only so that the chroot can later be used; and when bootsMounted is applied to a chroot, the goal is presumably to boot the underlying disk soon.
2017-07-28Merge remote-tracking branch 'spwhitton/apt-cacher-ng'Joey Hess
2017-07-28propellor spinJoey Hess
2017-07-27propellor spinJoey Hess
2017-07-27propellor spinJoey Hess
2017-07-27improve descriptionJoey Hess
2017-07-27DiskImage: Fix strictness bug in .parttable read/write sequence.Joey Hess
2017-07-27updateJoey Hess
2017-07-27Propellor.Types.Info: add missing import for 'cast'Sergei Trofimovich
The change fixes the following build failure on ghc-8.2.1: [ 6 of 160] Compiling Propellor.Types.Info ( src/Propellor/Types/Info.hs, dist/dist-sandbox-2ceaa3c0/build/Propellor/Types/Info.o ) src/Propellor/Types/Info.hs:38:34: error: • Variable not in scope: cast :: v1 -> Maybe v • Perhaps you meant one of these: data constructor ‘Last’ (imported from Data.Monoid), ‘last’ (imported from Prelude) | 38 | extractInfoEntry (InfoEntry v) = cast v | ^^^^ Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2017-07-27propellor spinJoey Hess
2017-07-27propellor spinJoey Hess
2017-07-26Added Network.dhcp' and Network.static', which allow specifying additional ↵Joey Hess
options for interfaces files.
2017-07-26propellor spinJoey Hess
2017-07-26propellor spinJoey Hess
2017-07-26propellor spinJoey Hess
2017-07-26propellor spinJoey Hess
2017-07-26add DeriveDataTypeableJoey Hess
2017-07-26Merge branch 'master' into joeyconfigJoey Hess
2017-07-26propellor spinJoey Hess
2017-07-25Add Typeable instance to Bootstrapper, fixing build with old versions of ghc.Joey Hess
2017-07-25VBoxManage errors out if file already exists, so delete the old oneJoey Hess
2017-07-25VBoxManage creates vmdk with locked down read modeJoey Hess
2017-07-25propellor spinJoey Hess
2017-07-25new propertiesJoey Hess
* Added Rsync.installed property. * Added DiskImage.vmdkBuilt property which is useful for booting a disk image in VirtualBox.
2017-07-25remove parttablefile on reversionJoey Hess
2017-07-25Merge branch 'master' into joeyconfigJoey Hess
2017-07-25propellor spinJoey Hess
2017-07-25DiskImage: Avoid re-partitioning disk image unncessarily, for a large speedup.Joey Hess
This commit was sponsored by Anthony DeRobertis on Patreon.
2017-07-23avoid one failure of Reboot.toKernelNewerThan when /boot not mountedSean Whitton
If the running kernel is new enough, there is no need to look at the kernels installed on the system.
2017-07-21calcPartTable using PartSpec DSLJoey Hess
* Generalized the PartSpec DSL, so it can be used for both disk image partitioning, and disk device partitioning, with different partition sizing methods as appropriate for the different uses. (minor API change) * Propellor.Property.Parted: Added calcPartTable function which uses PartSpec DiskPart, and a useDiskSpace combinator. This commit was sponsored by Thomas Hochstein on Patreon.
2017-07-21improve commentJoey Hess
2017-07-17Generate a better description for versioned properties.Joey Hess
2017-07-17Propellor.Property.LightDM.autoLogin: Made revertable.Joey Hess
* Propellor.Property.LightDM.autoLogin: Made revertable. (minor API change) * Propellor.Property.Conffile: Added lacksIniSetting. This commit was sponsored by Jack Hill on Patreon.
2017-07-17Propellor.Property.Sudo.enabledFor: Made revertableJoey Hess
(minor API change) This commit was sponsored by Henrik Riomar on Patreon.
2017-07-16Merge remote-tracking branch 'spwhitton/timezone'Joey Hess
2017-07-15fix usage of File.hasContentSean Whitton
2017-07-15docstring for Timezone typeSean Whitton
2017-07-15missing importSean Whitton
2017-07-15add Timezone.configuredSean Whitton
2017-07-15improve haddockJoey Hess
2017-07-15add Propellor.Property.VersionedJoey Hess
New module which allows different versions of a property or host to be written down in a propellor config file. Has many applications, including staged upgrades and rollbacks. Note that it currently only supports RevertableProperty that has the same metatypes for its setup and cleanup sides. And, each RevertableProperty in a version definition needs to have the same metatypes as the others too. I tried a couple of times to add support for differing metatypes, but it got beyond my avilities to do. This commit was sponsored by Jeff Goeke-Smith on Patreon.
2017-07-15add a description for Apt.useLocalCacherSean Whitton
2017-07-15add installing lintian to sample sbuild configSean Whitton
If the user has installed the sample .sbuildrc in /root, sbuild-createchroot will error out unless lintian is installed.