From dd188ca5884fa4a030b1bee73c94a20f5bab3c4c Mon Sep 17 00:00:00 2001 From: Jonas Weber Date: Fri, 19 Jan 2018 22:06:37 +0100 Subject: [PATCH] Handle stdin to __systemd_unit correctly When directly piping in the source of a systemd unit file, cdist errored out. This is due to not propagating the stdin file to the underlying __config_file type (which already contains code for this case, but this has to be duplicated in __systemd_unit). The following example thus works: __systemd_unit test.service --source - <