cdist/cdist
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
..
conf Handle stdin to __systemd_unit correctly 2018-01-21 09:12:45 +00:00
core Save output streams. 2018-01-09 09:31:40 +01:00
exec Save output streams. 2018-01-09 09:31:40 +01:00
sphinxext pep8 2016-07-05 20:44:24 +02:00
test Save output streams. 2018-01-09 09:31:40 +01:00
util Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
__init__.py Save output streams. 2018-01-09 09:31:40 +01:00
argparse.py Add -l/--log-level option. Honor __cdist_loglevel env var. (#572) 2017-09-09 21:17:29 +02:00
autil.py Add archiving support. 2017-08-09 16:56:02 +02:00
banner.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
config.py Save output streams. 2018-01-09 09:31:40 +01:00
configuration.py configuration: converter() -> get_converter() 2017-09-11 22:36:45 +02:00
emulator.py Remove redundant log.error line. 2017-11-20 08:02:25 +01:00
flock.py Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
hostsource.py Merge custom cache path pattern from beta branch. 2017-07-01 23:59:51 +02:00
install.py Add missing param. 2016-11-01 08:11:37 +01:00
integration.py Change path removal suitable for integration and normal run. 2017-09-14 09:53:16 +02:00
inventory.py Configfile (#559) 2017-08-30 23:02:17 +02:00
log.py Log ERROR to stderr and rest to stdout. (#576) 2017-09-13 13:06:06 +02:00
message.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
mputil.py Further improve parallel execution. 2017-07-26 17:39:07 +02:00
shell.py Save output streams. 2018-01-09 09:31:40 +01:00