summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2015-10-16Added --unset-unusedJoey Hess
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-16Added Propellor.Property.Spin, which can be used to make a host be a ↵Joey Hess
controller of other hosts. The hard part of this is avoiding loops of controllers. To make that work, a ControllerChain is passed to the host that's spun, and is added to the Info of the host being spun, where the controller property can check it to detect an avoid a loop. That needed an expansion of the CmdLine data type. I made the new ControlledRun only be used when there is a ControllerChain provided. This avoids breaking backwards compatability with old propellor deployments, as --spin still uses SimpleRun. Note: Making an old propellor deployment be controlled by a controller won't work until it's been updated to this commit, so it knows about the ControlledRun parameter. (Untested)
2015-10-14fileProperty, and properties derived from it now write the new file content ↵Joey Hess
via origfile.propellor-new~, instead of to a randomly named temp file. This allows them to clean up any temp file that may have been left by an interrupted run of propellor. Also converted the new isSymlinkedTo property to use the same implementation, with some simplifications.
2015-10-14changelogJoey Hess
2015-10-10tighten focus of Propellor module, adding Propellor.Base for all the exportsJoey Hess
2015-10-10wordingJoey Hess
2015-10-10Improved documentation, particularly of the Propellor module.Joey Hess
This involved some code changes, including some renaming of instance methods. (ABI change)
2015-10-08updateJoey Hess
2015-10-04releaseJoey Hess
2015-10-04prep releaseJoey Hess
2015-10-04Fix --add-key to not fail committing when no privdata file exists yet.Joey Hess
2015-09-30change HostContext for containersJoey Hess
Privdata that uses HostContext inside a container will now have the name of the container as its context, rather than the name of the host(s) where the container is used. This allows eg, having different passwords for a user in different containers. Note that previously, propellor would prompt using the container name as the context, but not actually use privdata using that context; so this is a bug fix. I don't entirely like the implementation; I had to put the code to change the context in PropAccum, and it's not generalized past PrivInfo.
2015-09-29add Kerberos module, contributed by Jelmer Vernooij.Joey Hess
2015-09-28Added Logcheck module, contributed by Jelmer Vernooij.Joey Hess
2015-09-25Guard against power loss etc when building propellor, by updating the ↵Joey Hess
executable atomically.
2015-09-23rm-key made the release somehowJoey Hess
(because I forgot to release it yesterday..)
2015-09-23Added --rm-key.Joey Hess
2015-09-22prep releaseJoey Hess
2015-09-20document new module and add to cabal listJoey Hess
2015-09-15documentationJoey Hess
2015-09-14Allow storing arbitrary ByteStrings in PrivData, extracted using ↵Joey Hess
privDataByteString.
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-14docsJoey Hess
2015-09-13creditJoey Hess
2015-09-11changelogJoey Hess
2015-09-10Fix two typos.Mario Lang
2015-09-08propellor spinJoey Hess
2015-09-06Added Propellor.Property.Rsync. WIP; untestedJoey Hess
Convert Info to use Data.Dynamic, so properties can export and consume info of any type that is Typeable and a Monoid, including data types private to a module. (API change) Thanks to Joachim Breitner for the idea.
2015-09-04add a bug closureJoey Hess
2015-09-04debian/control: Fix typo enures -> ensuresSantiago Vila
2015-09-04Added Propellor.Property.Rsync.Joey Hess
2015-09-03prep releaseJoey Hess
2015-09-02Fix bug that caused provisioning new chroots to fail.Joey Hess
2015-08-31implement dirsizesJoey Hess
Used Data.Map.Strict, so bumped versions. Don't want to support the ghc in debian oldstable.. (cherry picked from commit e413bed2c1cb15dcb8ce721a2801021e39f3ba86)
2015-08-31DiskImage is not yet completeJoey Hess
2015-08-31Update for Debian systemd-container package split.Joey Hess
2015-08-25formatting for partitions set up by partedJoey Hess
Including support for formatting partitions of a disk image file.
2015-08-25working on partedJoey Hess
2015-08-25add lintian overrides for rpath wackinessJoey Hess
2015-08-25prep releaseJoey Hess
2015-08-25changelogJoey Hess
2015-08-20changelogJoey Hess
2015-08-14prep releaseJoey Hess
2015-08-13Propellor.Property.Firewall: coding styleAntoine Eiche
2015-08-13changelogJoey Hess
2015-08-12Make sure that make is installed when bootstrapping propellor.Joey Hess
2015-07-30prep releaseJoey Hess
2015-07-30Work around broken git pull option parser in git 2.5.0, which broke use of ↵Joey Hess
--upload-pack to send a git push when running propellor --spin.
2015-07-21changelogJoey Hess