cdist/cdist
Nico Schottelius 0f639a9278 Make __cron nonparallel
It fails due to removal / edit of crontab at the same time

VERBOSE: [18331]: uncloud.ungleich.ch: Running object __cron/pg_dump_cleanup
VERBOSE: [18332]: uncloud.ungleich.ch: Running object __ungleich_packages/server
VERBOSE: [18335]: uncloud.ungleich.ch: Running object __postgres_role/app
INFO: [18335]: uncloud.ungleich.ch: Processing __postgres_role/app
INFO: [18331]: uncloud.ungleich.ch: Processing __cron/pg_dump_cleanup
ERROR: [16451]: uncloud.ungleich.ch: ssh -o User=root -o ControlPath=/tmp/tmp_8eu4oep/s -o ControlMaster=auto -o ControlPersist=2h uncloud.ungleich.ch /bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk;  export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote': ['ssh', '-o', 'User=root', '-o', 'ControlPath=/tmp/tmp_8eu4oep/s', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=2h', 'uncloud.ungleich.ch', "/bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk;  export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote'"]

Error processing object '__cron/pg_dumpall_under_day'
=====================================================
name: __cron/pg_dumpall_under_day
path: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk
source: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/conf/type/__ungleich_postgresql/manifest
type: /home/nico/vcs/cdist/cdist/conf/type/__cron

code-remote:stderr
------------------
crontab: can't move 'postgres.new' to 'postgres': No such file or directory

VERBOSE: [16451]: config: Total processing time for 1 host(s): 13.98031210899353
[18:09] line:~%
2020-04-02 18:14:09 +02:00
..
conf Make __cron nonparallel 2020-04-02 18:14:09 +02:00
core Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
exec Info command: support tilde expansion 2020-01-11 15:26:46 +01:00
preos/debootstrap Release preos, i.e. make it non-beta 2019-09-20 19:56:17 +02:00
sphinxext Return translator_class for older sphinx versions. 2018-03-15 13:49:22 +01:00
test Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
util Fix DirectoryDict getitem. 2018-10-12 19:08:36 +02:00
__init__.py Report explorer error better 2019-04-20 14:30:28 +02:00
argparse.py Add cdist info command 2020-01-04 12:50:12 +01: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 Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +01:00
configuration.py Add timestamping log option to config file. 2018-09-27 18:55:33 +02:00
emulator.py Redefine/reimplement CDIST_ORDER_DEPENDENCY 2019-11-27 15:04:47 +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
info.py Info command: support tilde expansion 2020-01-11 15:26:46 +01: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 Fix pycodestyle 2019-05-17 13:03:54 +02:00
log.py Add timestamp to log messages. 2018-09-23 20:36:57 +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
preos.py Fix typo 2020-01-12 12:19:49 +01:00
shell.py Save output streams. 2018-01-09 09:31:40 +01:00