cdist/cdist/conf/type/__systemd_unit
Jonas Weber dd188ca588 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 - <<EOF
    [Service]
    ExecStart=/bin/sleep 3600
    EOF
2018-01-21 09:12:45 +00:00
..
explorer __systemd_unit improvements (#606) 2017-12-29 17:06:48 +01:00
parameter Add __systemd_unit type (#589) 2017-11-07 13:25:37 +01:00
gencode-remote __systemd_unit improvements (#606) 2017-12-29 17:06:48 +01:00
man.rst __systemd_unit improvements (#606) 2017-12-29 17:06:48 +01:00
manifest Handle stdin to __systemd_unit correctly 2018-01-21 09:12:45 +00:00