aszlig a41b109bc1
nixos/taskserver: Don't change imperative users
Whenever the nixos-taskserver tool was invoked manually for creating an
organisation/group/user we now add an empty file called .imperative to
the data directory.

During the preStart of the Taskserver service, we use process-json which
in turn now checks whether those .imperative files exist and if so, it
doesn't do anything with it.

This should now ensure that whenever there is a manually created user,
it doesn't get killed off by the declarative configuration in case it
shouldn't exist within that configuration.

In addition, we also add a small subtest to check whether this is
happening or not and fail if the imperatively created user got deleted
by process-json.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-04-12 03:42:13 +02:00
..
2015-05-13 16:23:57 +02:00
2016-02-28 16:18:39 +01:00
2016-03-19 03:18:17 +01:00
2016-03-30 22:22:40 +02:00
2015-09-06 14:44:13 +02:00
2015-09-15 14:25:36 +02:00
2015-10-05 22:10:40 -06:00
2016-01-24 04:06:19 +00:00
2016-01-23 01:20:14 +01:00
2015-08-28 13:27:51 +02:00
2015-09-06 15:20:56 +02:00
2015-08-31 18:36:32 +02:00
2015-12-06 13:35:21 +00:00
2015-11-23 06:39:19 -06:00
2015-12-25 15:55:07 +01:00