summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-13propellor spinJoey Hess
2017-07-13rename src/config.hsJoey Hess
This works around an infelicity in stack; it complains when there are both a toplevel config.hs and a src/config.hs, despite that being fine with cabal.
2017-07-13fix typo in build pathJoey Hess
2017-07-13Updated stack config to lts-8.22.Joey Hess
2017-07-13use stack build --dry-run to check if deps are installedJoey Hess
The system might have stack installed, so stack --version would succeed, but need stack setup to be run to get a working ghc. This will fail if stack is not installed, or if stack setup needs to be run. It does not fail when haskell libraries are not installed, but stack build will install those anyway, so that's ok.
2017-07-13export BuilderJoey Hess
2017-07-13Merge branch 'joeyconfig'Joey Hess
2017-07-13finally really fixed HEAD problemJoey Hess
My first try with a pipe was the right approach, and was almost right, except I forgot to close the write end of the pipe, and so it was inherited by the forked process, leading to deadlock.
2017-07-13trying the pipe trick againJoey Hess
With some small changes, and debugging.
2017-07-13Revert "disable buffering earlier"Joey Hess
This reverts commit 632137836b39462883483a621f9dd696ce1d73cc. Still failing :( Seems that disabling buffering is not the solution.
2017-07-13disable buffering earlierJoey Hess
The "fatal: Couldn't find remote ref HEAD" persists, and is intermittent so hard to be sure but it seemed that disabling buffering earlier avoided it. Now done first thing on start. I was not able to find anything that reads from stdin other than getMarked, but perhaps there is something..
2017-07-12add bootstrapWith property to support stack and moreJoey Hess
* Hosts can be configured to build propellor using stack, by adding a property: & bootstrapWith (Robustly Stack) * Hosts can be configured to build propellor using cabal, but using only packages installed from the operating system. This will work on eg Debian: & bootstrapWith OSOnly propellor build its config using stack. (This does not affect how propellor is bootstrapped on a host by "propellor --spin host".) This has not yet been tested at all! But should probably work fine. This is based on earlier work by Arnaud Bailly, who made Propellor.Bootstrap use stack without parameterization. In Arnaud's patch, stack was installed using wget, but that only worked on linux-x86_64 and was insecure. I instead chose to use the distribution packages of stack, like is done for cabal. Debian stack has haskell-stack now, and it's getting into many distributions. This commit was sponsored by Francois Marier on Patreon.
2017-07-10Merge remote-tracking branch 'felix/system-group'Joey Hess
2017-07-10User: add systemGroup and use it for systemAccountFor'Félix Sipma
2017-07-10Merge remote-tracking branch 'felix/restic'Joey Hess
2017-07-06Added reservedSpacePercentage to the PartSpec EDSL.Joey Hess
2017-07-05Added Propellor.Property.FreeDesktop module.Joey Hess
This commit was sponsored by Trenton Cronholm on Patreon.
2017-07-05fix chroot info accessJoey Hess
2017-07-05DiskImage: Removed grubBootedJoey Hess
Properties that used to need it as a parameter now look at Info about the bootloader that is installed in the chroot that the disk image is created from. (API change) This is a simplication, and avoids the user needing to repeat themselves in the propellor config, thus avoiding mistakes. When no boot loader is installed, or multiple different ones are, disk image creation will fail, which seems reasonable. This commit was sponsored by Jake Vosloo on Patreon.
2017-07-05Image.grubBooted no longer takes a BIOS parameterJoey Hess
* DiskImage.grubBooted no longer takes a BIOS parameter, and no longer implicitly adds Grub.installed to the properties of the disk image. If you used DiskImage.grubBooted, you'll need to update your propellor configuration, removing the BIOS parameter from grubBooted and adding a Grub.installed property to the disk image, eg: & Grub.installed PC (API change) * Grub.installed: Avoid running update-grub when used in a chroot, since it will get confused. * DiskImage.Finalization: Simplified this type since it does not need to be used to install packages anymore. (API change) The advantage of doing this comes when using hostChroot with imageBuilt, since the Host then has its Grub.installed property explicitly listed so propellor knows about it when otherwise deploying that host. Also, it simplifies the quite complex imageBuilt parameters. This commit was sponsored by Ewen McNeill.
2017-07-05add XFCE.networkManagerJoey Hess
2017-07-05Added File.checkOverwrite.Joey Hess
This commit was sponsored by Ethan Aubin.
2017-07-05File.isCopyOf: Fix bug that prevented this property from working when the ↵Joey Hess
destination file did not yet exist. This commit was sponsored by andrea rota.
2017-07-05add Overwrite configurationJoey Hess
2017-07-05avoid overwriting existing fileJoey Hess
2017-07-05rename confusing f' to srcJoey Hess
f' normally means a later version of f
2017-07-05less wonky (and working) implementation of defaultPanelForJoey Hess
2017-07-05propellor spinJoey Hess