ssmtp: Add AuthUser and AuthPass options.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Forgot semicolon. (M)

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Added redis service with bunch of documentation.
Fixed: now using the configured redis package.
Removed options that are not vital, added an `extraConfig` for any
additional configuration options for flexibility.
memcached: Add NixOS support
memcached: Add more options and extraOptions support
qemu-vm: Add option to create empty disk images.

This allows to add additional raw disk images to the VM, which therein are
available as /dev/vdb, /dev/vdc, /dev/vde and so on. Especially when testing
partitioning, this could be useful.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
tests: Add VM test for partitioning using nixpart.

At the moment, we still use kickstart syntax, but this is going to change
soon[TM] to be more NixOS-integrated. The tests use emptyDiskImages option
introduced in the previous commit, so we don't have to create a whole bunch of
duplicate expressions.

Testing itself is done exclusively on /dev/vdb and /dev/vdc. And there is a
check (ensureSanity) to make sure none of the tests are actually mutating
/dev/vda.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Merge pull request #144 from the-kenny/ssmtp-user-pass

ssmtp: Add AuthUser and AuthPass options.
Merge pull request #182 from zefhemel/redis

Added redis service module with bunch of documentation.
ssmtp: fix eval
time.timeZone: Set the TZ environment variable, which is used by Java.
cleanup dd-agent
dd-agent: cleanup, add dogstatsd systemd service
fix trac tests
Merge pull request #185 from ocharles/memcached

memcached: Add NixOS support
tests/partition: Reboot machine on every subtest.

This will ensure that we don't get errors because the kernel doesn't recognize
the new partitioning scheme on some conditions or architectures, such as i686.

See here for the Hydra build log on i686:

http://hydra.nixos.org/build/5432090/download/1/log.html

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
tests/partition: Check if nixpart loses mounts.

As the whole partitioning run is quite an invasive procedure, we want to
especially make sure that it doesn't unmount any filesystems that were mounted
before the partitioner was run.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
tests/partition: Unmount and check remounting.

This checks if nixpart is able to mount the filesystems from scratch again, just
with the information provided by the kickstart file.

Found an odd issue about findmnt here, because it seems to not show /mnt/boot,
even though it _is_ mounted and even shows up in /proc/self/mountinfo. I'm not
quite sure whether this is a bug or I'm doing something wrong here, but might
need some investigation.

Mountpoints are checked by adding empty canary files, remounting and checking if
the same canaries still exist. If they don't, the partitioner either has
formatted the filesystem or just not mounted the device. Either way, both
shouldn't happen, but that's why we're testing it, no? :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>