summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific
AgeCommit message (Collapse)Author
2016-07-18updateJoey Hess
2016-07-11propellor spinJoey Hess
2016-07-11propellor spinJoey Hess
2016-07-11propellor spinJoey Hess
2016-06-13add DebianKernel datatypeFélix Sipma
(cherry picked from commit 3590a1241580ddcdd153e2619a3c02ce18a8db8c but without the changes to src/Propellor/Precompiled.hs)
2016-06-13remove ANDROIDJoey Hess
(cherry picked from commit d5d42f4fb51fee4e5eb2e17d82f1339876c8fc03)
2016-06-13convert Architecture to a sumtypeFélix Sipma
TODO: remove ANDROID (used in GitAnnexBuilder) TODO: add other architectures TODO: rename ARMHF TODO: rename ARMEL (cherry picked from commit 6f36f6cade4e1d8b15c714565e223562c6573099)
2016-06-10propellor spinJoey Hess
2016-05-05workaroundJoey Hess
2016-03-30Revert "propellor spin"Joey Hess
This reverts commit 947e73a2021fcad36a806a224f171e0dba9ee7da. When I tried to use startssl cert with postfix, darkstar complained: Server certificate not verified
2016-03-30propellor spinJoey Hess
2016-03-30propellor spinJoey Hess
2016-03-30propellor spinJoey Hess
2016-03-30propellor spinJoey Hess
2016-03-27finished the conversion, including my config file!Joey Hess
It builds, but I have not yet tested if it works. Need to verify info propagation, etc.
2016-03-27portedJoey Hess
fixed up chroot to take Props
2016-03-27ported!Joey Hess
2016-03-26more portingJoey Hess
Conductor WIP
2016-03-26more portedJoey Hess
2016-03-05add libmagicJoey Hess
2016-03-05propellor spinJoey Hess
2016-02-07temporarily revert using letsencryptJoey Hess
It's currently not letting me make a cert for kitenet.net as I made too many during testing.
2016-02-07propellor spinJoey Hess
2016-02-06Obnam: To cause old generations to be forgotten, keepParam can be passed to ↵Joey Hess
a backup property; this causes obnam forget to be run.
2016-01-22rewordJoey Hess
2016-01-22more textJoey Hess
2016-01-02clean cache on autobuildersJoey Hess
2015-12-31actually parse service linesJoey Hess
So whitespace etc changes don't matter
2015-12-31propellor spinJoey Hess
2015-12-31Postfix: Add service property to enable/disable services in master.cf.Joey Hess
2015-12-06allow using `check` on a UncheckedProperty, which yields a PropertyJoey Hess
2015-12-05UncheckedProperty for cmdProperty et alJoey Hess
* Properties that run an arbitrary command, such as cmdProperty and scriptProperty are converted to use UncheckedProperty, since they cannot tell on their own if the command truely made a change or not. (API Change) Transition guide: - When GHC complains about an UncheckedProperty, add: `assume` MadeChange - Since these properties used to always return MadeChange, that change is always safe to make. - Or, if you know that the command should modifiy a file, use: `changesFile` filename * A few properties have had their Result improved, for example Apt.buldDep and Apt.autoRemove now check if a change was made or not.
2015-11-26Added Propellor.Property.Fail2Ban.Joey Hess
2015-11-25Added Postfix.saslPasswdSet.Joey Hess
2015-11-24fixesJoey Hess
2015-11-24found this handy conversion of my blog post to propellor property in ↵Joey Hess
spwhitton's repo
2015-11-01take dkim out of test modeJoey Hess
2015-10-27Explicit Info/NoInfo for RevertableProperty (API change)Joey Hess
RevertableProperty used to be assumed to contain info, but this is now made explicit, with RevertableProperty HasInfo or RevertableProperty NoInfo. Transition guide: - If you define a RevertableProperty, expect some type check failures like: "Expecting one more argument to ‘RevertableProperty’". - Change it to "RevertableProperty NoInfo" - The compiler will then tell you if it needs "HasInfo" instead. - If you have code that uses the RevertableProperty constructor that fails to type check, use the more powerful <!> operator
2015-10-24improve RevertableProperty combiningJoey Hess
* Various property combinators that combined a RevertableProperty with a non-revertable property used to yield a RevertableProperty. This was a bug, because the combined property could not be fully reverted in many cases. Fixed by making the combined property instead be a Property HasInfo. * combineWith now takes an addional parameter to control how revert actions are combined (API change).
2015-10-23Changed how the operating system is provided to Chroot (API change).Joey Hess
* Where before debootstrapped and bootstrapped took a System parameter, the os property should now be added to the Chroot. * Follow-on change to Systemd.container, which now takes a System parameter. Two motivations for this change: 1. When using ChrootTarball, there may be no particular System that makes sense for the contents of the tarball, so don't force the user to specify one. 2. When creating a chroot for a disk image with the same properties as an existing Host, using hostProperties host to get them, this allows inheriting the os property from the host, and doesn't require it to be redundantly passed to Chroot.debootstrapped.
2015-10-22seems the rsync systemd service ships disabled by defaultJoey Hess
So many hoops to run a daemon..
2015-10-16improve ssh user key propertiesJoey Hess
* Ssh.keyImported is replaced with Ssh.userKeys. (API change) The new property only gets the private key from the privdata; the public key is provided as a parameter, and so is available as Info that other properties can use. * Ssh.keyImported' is renamed to Ssh.userKeyAt, and also changed to only import the private key from the privdata. (API change) * While Ssh.keyImported and Ssh.keyImported' avoided updating existing keys, the new Ssh.userKeys and Ssh.userKeyAt properties will always update out of date key files. * Ssh.pubKey renamed to Ssh.hostPubKey. (API change) This makes eg, setting up ssh for spin controllers work better.
2015-10-16revert change to JoeySitesJoey Hess
The change to JoeySites is wrong, because IIRC leafnode creates a spool directory, and isSymlinkedTo will not replace an existing directory with a symlink.
2015-10-16convert symlink properties to File.isSymlinkedToFélix Sipma
2015-10-10propellor spinJoey Hess
2015-09-29propellor spinJoey Hess
2015-09-23propellor spinJoey Hess
2015-09-23add "ancient" git-annex autobuilder using debian stable i386Joey Hess
2015-09-14clean up privdata excess/lacking newline issueJoey Hess
* PrivData converted to newtype (API change). * Stopped stripping trailing newlines when setting PrivData; this was previously done to avoid mistakes when pasting eg passwords with an unwanted newline. Instead, PrivData consumers should use either privDataLines or privDataVal, to extract respectively lines or a value (without internal newlines) from PrivData.
2015-09-13add virus collection cleanupJoey Hess