Commit Graph

773 Commits

Author SHA1 Message Date
Sean Whitton b462aefdb2 Systemd.masked property
This property masks, and when reverted unmasks, systemd services.  This is just
`systemctl mask service` and `systemctl unmask service`.  It's useful for
turning off a system service that you intend to run with --user.

Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2015-07-05 15:52:00 -04:00
Joey Hess 1d6972bb79
typo 2015-07-03 02:02:28 -04:00
Joey Hess 08ce9c7666
update 2015-07-03 00:20:06 -04:00
Joey Hess 9bd152cfc6
update 2015-07-02 23:15:54 -04:00
Joey Hess 4ac4855a78
propellor spin 2015-07-02 11:14:54 -04:00
Joey Hess fc04d0d81d Added --unset to delete a privdata field. 2015-06-29 16:40:01 -04:00
Iustin Pop 37a5c05aba Further docstring improvements. 2015-06-29 16:15:29 -04:00
Iustin Pop cfa236a042 Fix a couple of trivial typos in Postfix docstring 2015-06-29 16:15:29 -04:00
Antoine Eiche 46241b3a89 Replace String type synonym Docker.Image by a data type which allows to specify an image name and an optional tag.
This also introduces the class ImageIdentifier which is internally
used by some Docker methods.
2015-06-16 14:48:59 -04:00
Antoine Eiche e1f2d4a8f1 Add Docker environment property which allows to specify environment variables to containers. 2015-06-04 12:16:29 -04:00
Joey Hess fd9d172bcd wording 2015-06-02 00:37:17 -04:00
Joey Hess af450d89c8 fix example 2015-06-02 00:14:08 -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 c9dc306016 more systemd improvements 2015-06-01 23:41:07 -04:00
Joey Hess 765367dab9 add Bound 2015-06-01 23:16:25 -04:00
Joey Hess 6241a16772
propellor spin 2015-06-01 22:07:05 -04:00
Joey Hess 802f3c968d descs 2015-06-01 18:34:15 -04:00
Joey Hess 87a116d5db use --machine
needed by systemd 220 for machined to see the container as a machine
2015-06-01 18:33:49 -04:00
Joey Hess ef1307652e another try at unmounting /proc for systemd-nspawn 2015-06-01 18:14:47 -04:00
Joey Hess 6d36de695c add linkJournal property so it can be reverted to disable 2015-06-01 17:51:20 -04:00
Joey Hess b4503a782b explicitly speciy params for systemd-nspawn ExecStart
It was using whatever was in /lib/systemd/system/systemd-nspawn@.service,
but systemd 220 added --network-veth to that, which can break existing
setups. So don't do that.
2015-06-01 17:44:37 -04:00
Joey Hess 06ebb4593a
propellor spin 2015-06-01 17:00:57 -04:00
Joey Hess c0b9c708c9 don't mount /proc when provisioning systemd-nspawn container
While needed for chroot provisioning, it confuses system when
systemd-nspawn runs it inside the container.
2015-06-01 16:22:15 -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 a7045f737e
propellor spin 2015-06-01 14:51:56 -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 a5bb972d94 remove Params constructor
Before it gets into released API...
2015-06-01 13:56:30 -04:00
Joey Hess 446a2e4c9a update 2015-06-01 13:55:07 -04:00
Joey Hess 7b8b779360 revert test 2015-05-30 14:03:23 -04:00
Joey Hess 536d9fec70
propellor spin 2015-05-30 14:02:25 -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 b5a8c7227b workaround bug 2015-05-29 22:51:47 -04:00
Joey Hess 78fecfcba4
propellor spin 2015-05-29 19:18:35 -04:00
Joey Hess 8d98d4351b reorder 2015-05-28 09:34:47 -04:00
Joey Hess 2c2247fc23
propellor spin 2015-05-27 21:24:50 -04:00
Joey Hess 0c86662b2d
propellor spin 2015-05-27 21:15:54 -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 3c2349922d
propellor spin 2015-05-27 18:27:25 -04:00
Joey Hess 353d3e888b merge changes from git-annex 2015-05-27 14:55:31 -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 d7ff70c727 merge changes from git-annex 2015-05-27 12:24:22 -04:00
Joey Hess d38c48b97f
propellor spin 2015-05-26 11:24:22 -04:00
Joey Hess 3a99c87cdf
remove unnecessary use of ensureProperty 2015-05-24 17:12:17 -04:00
Joey Hess b68b9ee165
propellor spin 2015-05-24 16:38:18 -04:00
Joey Hess ff01339b8c
propellor spin 2015-05-22 15:49:30 -04:00
Joey Hess 56fe313887
propellor spin 2015-05-22 14:50:23 -04:00