Commit Graph

235 Commits

Author SHA1 Message Date
Joey Hess 8d971b83ba Ssh.permitRootLogin type changed to allow configuring WithoutPassword and ForcedCommandsOnly (API change)
* Ssh.permitRootLogin type changed to allow configuring WithoutPassword
  and ForcedCommandsOnly (API change)
* setSshdConfig type changed, and setSshdConfigBool added with old type.
2015-07-20 12:03:47 -04:00
Joey Hess 8946b47db6 prep release 2015-07-10 22:36:59 -04:00
Joey Hess 7593e76c96 Fix make install target to work even when git is not configured. 2015-07-10 22:31:48 -04:00
Joey Hess 71265a2d6f changelog 2015-07-05 15:52:21 -04:00
Joey Hess 7cd4c0054f Version dependency on exceptions. 2015-06-30 16:49:52 -04:00
Joey Hess fc04d0d81d Added --unset to delete a privdata field. 2015-06-29 16:40:01 -04:00
Joey Hess 948f855c63 update for Docker.Image changes 2015-06-16 14:52:50 -04:00
Joey Hess b5de5703a4 speling 2015-06-09 17:12:54 -04:00
Joey Hess 9415bfb4ad prep release 2015-06-09 17:09:00 -04:00
Joey Hess 87494a6099 changelog 2015-06-04 12:17:01 -04:00
Joey Hess e11c68cf1e Docker: volume and publish accept Bound FilePath and Bound Port, respectively. They also continue to accept Strings, for backwards compatability. 2015-06-01 23:57:33 -04:00
Joey Hess 06ebb4593a
propellor spin 2015-06-01 17:00:57 -04:00
Joey Hess 85c3d11088 reorganize Port type for systemd can use it 2015-06-01 16:13:44 -04:00
Joey Hess a50edc3d9f better types for systemd port publishing 2015-06-01 16:05:31 -04:00
Joey Hess 65357750d2 Added publish property for systemd-spawn containers. (Needs systemd version 220.) 2015-06-01 14:18:36 -04:00
Joey Hess 433bf00a55 --spin now works when given a short hostname that only resolves to an ipv6 address. 2015-05-30 13:58:00 -04:00
Joey Hess aa7dcad9ba export createProcess with debug logging from Propellor.Property.Cmd 2015-05-30 11:05:34 -04:00
Joey Hess 95b6d711e7 Mount /proc inside a chroot before provisioning it, to work around #787227 2015-05-30 10:26:43 -04:00
Joey Hess ea1598768c Fix Postfix.satellite bug; the default relayhost was set to the domain, not to smtp.domain as documented. 2015-05-29 23:07:10 -04:00
Joey Hess 9ce43e55f8 Improve enter-machine scripts for nspawn containers to unset most environment variables. 2015-05-27 21:11:36 -04:00
Joey Hess 626f1af56f Export CommandParam, boolSystem, safeSystem and shellEscape from Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library.
Several imports of Utility.SafeCommand now redundant.
2015-05-27 12:38:45 -04:00
Joey Hess 04d04fe917 changelog 2015-05-12 11:06:45 -04:00
Joey Hess 63ccccb1bb cmdProperty' renamed to cmdPropertyEnv to make way for a new, more generic cmdProperty' (API change) 2015-05-07 12:16:48 -04:00
Joey Hess 160eff0eb7 prep release 2015-05-06 14:29:03 -04:00
Joey Hess fec92abcc8 changelog 2015-04-29 14:43:50 -04:00
Joey Hess a584268334 Ensure build deps are installed before building propellor in --spin and cron job, even if propellor was already built before, to deal with upgrades that add new dependencies. 2015-04-29 14:31:54 -04:00
Joey Hess 681e4dbbcb
propellor spin 2015-04-29 14:26:13 -04:00
Joey Hess 1706ca682e Removed Obnam.latestVersion which was only needed for Debian wheezy backport. 2015-04-25 11:23:54 -04:00
Joey Hess f59527cca4 changelog 2015-04-22 21:00:41 -04:00
Joey Hess fb598feeac
propellor spin 2015-04-22 13:49:00 -04:00
Joey Hess f35ef9d697 API change: Added User and Group newtypes, and Properties that used to use the type UserName = String were changed to use them.
Note that UserName is kept and PrivData still uses it in its sum type.
This is to avoid breaking PrivData serialization.
2015-04-22 13:04:39 -04:00
Joey Hess 07be883258 debCdn changed to new httpredir.debian.org official replacement for http.debian.net. 2015-04-19 21:36:07 -04:00
Joey Hess 3d735c52f4 Added hasLoginShell and shellEnabled.
My code with some improvements from weinzwang.
2015-04-19 21:00:21 -04:00
Joey Hess 86783dc52d Make propellor resistent to changes to shared libraries, such as libffi
* Make propellor resistent to changes to shared libraries, such as libffi,
  which might render the propellor binary unable to run. This is dealt with
  by checking the binary both when running propellor on a remote host,
  and by Cron.runPropellor. If the binary doesn't work, it will be rebuilt.
* Note that since a new switch had to be added to allow testing the binary,
  upgrading to this version will cause a rebuild from scratch of propellor.
2015-04-02 10:20:44 -04:00
Joey Hess 9292cee1aa prep 2015-03-12 20:09:02 -04:00
Joey Hess 370aad7825
propellor spin 2015-03-12 19:53:40 -04:00
Joey Hess b508bb52fd
propellor spin 2015-03-11 22:31:45 -04:00
Joey Hess 51dd9a9c63 prep release 2015-03-09 12:02:48 -04:00
Joey Hess e26c232d15 avoid using the makefile when bootstrapping with --spin 2015-02-28 12:51:16 -04:00
Joey Hess dc03e317b4 Propellor now builds itself without needing the Makefile. 2015-02-28 12:27:07 -04:00
Joey Hess e8b0e7c6ca
propellor spin 2015-02-27 18:55:51 -04:00
Joey Hess fa7656f743 Add shebang to cron.daily etc files. 2015-02-25 14:58:40 -04:00
Joey Hess be1a3a7c89 When running shimmed (eg in a docker container), improve process name visible in ps. 2015-02-16 19:01:32 -04:00
Joey Hess cc62505a61 prep release 2015-02-12 12:36:36 -04:00
Joey Hess da77276378 ssh user perm fixes
* Ssh.authorizedKey: Make the authorized_keys file and .ssh directory
  be owned by the user, not root.
* Ssh.knownHost: Make the .ssh directory be owned by the user, not root.
2015-02-12 12:35:15 -04:00
Joey Hess e32f157374 Fix Git.daemonRunning to restart inetd after enabling the git server. 2015-02-10 21:04:32 -04:00
Joey Hess 5781da55bc
propellor spin 2015-02-08 15:51:55 -04:00
Joey Hess 8edc7ed3ae
propellor spin 2015-02-01 17:34:04 -04:00
Joey Hess 04611cac47 changelog 2015-01-29 01:41:39 -04:00
Joey Hess 62c093de30 typo 2015-01-25 15:27:55 -04:00