Commit graph

770 commits

Author SHA1 Message Date
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
Darko Poljak
da30afe791 ++changelog 2020-03-29 12:54:02 +02:00
Darko Poljak
df63cfe088 ++changelog 2020-03-27 08:50:27 +01:00
Nico Schottelius
ec11f04ab8 ++changes 2020-03-26 21:49:43 +01:00
Darko Poljak
f7d5f5bc97 ++changelog 2020-03-09 08:02:18 +01:00
Darko Poljak
213f1b049c Release 6.5.2 2020-02-27 20:23:04 +01:00
Darko Poljak
da6ccf808e ++changelog 2020-02-26 21:48:08 +01:00
Darko Poljak
046f7d0663 ++changelog 2020-02-26 16:32:03 +01:00
Darko Poljak
b2db864eaf ++changelog 2020-02-26 13:01:29 +01:00
Darko Poljak
49fc21ec47 ++changelog 2020-02-23 09:32:03 +01:00
Nico Schottelius
ceddbd15a0 ++changes 2020-02-20 10:15:34 +01:00
Darko Poljak
1b0caeda13 ++changelog 2020-02-19 14:49:35 +01:00
Darko Poljak
c09165d122 Fix spelling 2020-02-15 21:05:24 +01:00
Darko Poljak
9f3747cf3f Release 6.5.1 2020-02-15 14:36:26 +01:00
Darko Poljak
cda77e5e8a ++changelog 2020-02-15 14:35:29 +01:00
Darko Poljak
58841fc4bf ++changelog 2020-02-15 12:20:41 +01:00
Darko Poljak
48bff66563 ++changelog 2020-02-14 21:55:35 +01:00
Darko Poljak
e5f9d32004 ++changelog 2020-02-14 16:07:06 +01:00
Darko Poljak
7a5d6d5a7d ++changelog 2020-02-04 07:45:04 +01:00
Nico Schottelius
0f420993e1 ++ changelog update 2020-02-03 17:45:34 +01:00
Darko Poljak
8f12a4c505 Release 6.5.0 2020-01-23 07:11:55 +01:00
Darko Poljak
4e8ccd9b78 ++changelog 2020-01-20 09:08:55 +01:00
Darko Poljak
5089f9055e ++changelog 2020-01-19 19:41:26 +01:00
Darko Poljak
45890cc7e4 ++changelog 2020-01-17 18:14:49 +01:00
Darko Poljak
e292c9f124 ++changelog 2020-01-17 15:48:59 +01:00
Darko Poljak
3f133dbc17 Info command: support tilde expansion 2020-01-11 15:26:46 +01:00
Darko Poljak
11f569959d Fix missing configuration file usage, support -g
PreOS code did not use configuration support. This fix adds support
for using cdist configuration, which takes into account cdist
configuration file, environment variables and command line options,
especially conf_dir.

It also adds support for -g, --config-file option, for specifying
custom configuration file.
2020-01-11 14:16:33 +01:00
Darko Poljak
51ba4a49d8 ++changelog 2020-01-04 18:21:23 +01:00
Darko Poljak
7c9dd3b03e Release 6.4.0 2020-01-04 14:36:14 +01:00
Darko Poljak
bc1990c7c8 ++changelog 2020-01-04 13:44:04 +01:00
Darko Poljak
e201536792 ++changelog 2020-01-04 13:18:13 +01:00
Darko Poljak
72935e0a79 ++changelog 2020-01-04 11:08:48 +01:00
Darko Poljak
6369bc1ae5 ++changelog 2020-01-04 10:07:53 +01:00
Nico Schottelius
f407e8825f [consul/alpine] no init script required to be deployed anymore 2019-12-15 22:56:16 +01:00
Darko Poljak
9859080217 Release 6.3.0 2019-12-12 07:43:07 +01:00
Darko Poljak
3c62a88ca7 ++changelog 2019-12-10 19:33:29 +01:00
Darko Poljak
553cfc28e7 ++changelog 2019-12-09 09:57:54 +01:00
Darko Poljak
d5ac9ea348 Docs: install from source, verify signature
Add chapter for installing from source with signature verification.
Resolves #795.
2019-12-08 16:35:41 +01:00
Darko Poljak
839e7a408e ++changelog 2019-12-06 19:46:17 +01:00
Darko Poljak
f2cbc01e3f ++changelog 2019-12-06 10:04:06 +01:00
Darko Poljak
90e85d8128 Embed config skeleton instead of rewriting it
Resolves #796.
2019-12-06 09:37:21 +01:00
Darko Poljak
f22349ce8a Fix documentation for install types
Fixes gitlab #790.
2019-12-06 09:00:16 +01:00
Darko Poljak
320f962e1d ++changelog 2019-12-04 22:27:58 +01:00
Darko Poljak
a1f33ca8eb Release 6.2.0 2019-11-30 23:11:36 +01:00
Darko Poljak
b3012b9911 ++changelog 2019-11-29 13:56:32 +01:00
Darko Poljak
3b5aa8654d Release 6.1.1 2019-11-26 19:24:15 +01:00
Darko Poljak
8236de763f Revert "++changelog"
This reverts commit e44219903a.
2019-11-26 17:57:19 +01:00
Darko Poljak
e44219903a ++changelog 2019-11-25 21:01:20 +01:00
Darko Poljak
56435492a0 ++changelog 2019-11-24 17:18:02 +01:00
Darko Poljak
b876ebb16e ++changelog 2019-11-22 19:59:52 +01:00
Darko Poljak
b8c6f8c8f5 ++changelog 2019-11-21 17:01:27 +01:00
Darko Poljak
ac2463fe31 ++changelog 2019-11-20 20:58:42 +01:00
Darko Poljak
0bc00477ae Release 6.1.0 2019-11-19 21:54:56 +01:00
Darko Poljak
6c67d7194a ++changelog 2019-11-19 21:53:40 +01:00
Darko Poljak
c1633d9301 Release 6.0.4 2019-11-19 21:29:45 +01:00
Nico Schottelius
8b0686766a ++changes 2019-11-08 13:27:38 +01:00
Darko Poljak
5fcd4bc09f Release 6.0.3 2019-10-31 08:56:13 +01:00
Darko Poljak
39b320a19a ++changelog 2019-10-27 19:12:52 +01:00
Darko Poljak
00852cb17d ++changelog 2019-10-25 14:26:08 +02:00
Darko Poljak
50a3130b0a ++changelog 2019-10-21 12:02:53 +02:00
Nico Schottelius
9f1ec6f89e Merge branch 'master' of code.ungleich.ch:ungleich-public/cdist 2019-10-17 16:47:28 +02:00
Nico Schottelius
076133028f ++changelog 2019-10-17 16:44:56 +02:00
Darko Poljak
778cd4ff0e Release 6.0.2 2019-10-17 11:14:09 +02:00
Darko Poljak
6214408f2a ++changelog 2019-10-15 20:19:57 +02:00
Darko Poljak
3c86c175aa ++changelog 2019-10-14 11:41:04 +02:00
Nico Schottelius
2bc26e398c [__letsencrypt_cert] Add Arch Linux support 2019-10-13 11:15:53 +02:00
Darko Poljak
c3af8a0cc0 ++changelog 2019-10-10 11:19:00 +02:00
Darko Poljak
d1f4657ed9 Release 6.0.1 2019-10-08 14:16:33 +02:00
Darko Poljak
be756f2189 ++changelog 2019-10-08 13:48:51 +02:00
Darko Poljak
4c21781c4b ++changelog 2019-10-05 07:52:34 +02:00
Darko Poljak
69170b20f6 ++changelog 2019-10-04 20:07:28 +02:00
Darko Poljak
b039e4b1b4 ++changelog 2019-10-03 20:36:25 +02:00
Darko Poljak
bf400928e2 ++changelog 2019-10-03 07:56:36 +02:00
Darko Poljak
7981f81dcd ++changelog 2019-10-01 13:18:01 +02:00
Darko Poljak
828b4c867c Release 6.0.0 2019-10-01 07:14:35 +02:00
Darko Poljak
9d8a0dae66 ++changelog 2019-10-01 07:01:38 +02:00
Nico Schottelius
90d9326740 [__sysctl] add alpine support 2019-09-20 21:17:13 +09:00
Darko Poljak
799ec72369 Implement preos 2019-09-20 07:15:37 +02:00
Darko Poljak
eab540bd0f ++ 2019-09-18 07:04:41 +02:00
Darko Poljak
067d0a62e7 Release 5.1.3 2019-08-30 08:51:08 +02:00
Darko Poljak
65b9e1d00f ++changelog 2019-08-29 14:40:16 +02:00
Nico Schottelius
6c780c24c7 ++changes 2019-08-15 14:25:16 +02:00
Nico Schottelius
5033f67d96 Merge branch 'master' of code.ungleich.ch:ungleich-public/cdist 2019-08-15 14:20:42 +02:00
Nico Schottelius
7182de5968 ++changes 2019-08-15 14:20:14 +02:00
Darko Poljak
c6b739b5b6 ++changelog 2019-08-04 21:52:59 +02:00
Darko Poljak
f7efde0d0a ++changelog 2019-07-25 08:06:58 +02:00
Darko Poljak
5c11c15ae4 Overcome bash CDPATH issue
Thanks to Dmitry Bogatov.
2019-06-23 20:00:25 +02:00
Darko Poljak
6915d30015 Release 5.1.2 2019-06-21 14:13:25 +02:00
Darko Poljak
8881ff2224 ++changelog 2019-06-21 12:55:33 +02:00
Darko Poljak
d723f60673 ++changelog 2019-06-20 18:12:50 +02:00
Darko Poljak
8315677ad1 Release 5.1.1 2019-05-28 17:53:34 +02:00
Darko Poljak
68837e45cc Document type stdin inside loop caveats 2019-05-25 20:02:45 +02:00
Darko Poljak
520cfeda98 ++ 2019-05-25 16:10:18 +02:00
Darko Poljak
c58ae44409 Release 5.1.0 2019-05-22 18:34:31 +02:00
Darko Poljak
4949af894e Add type deprecation support. 2019-05-20 18:50:25 +02:00
Darko Poljak
34eec3c214 Add cdist-new-type helper scrpt 2019-05-20 18:10:35 +02:00
Nico Schottelius
21a16f5584 consul, changelog, consul agent => alpine 2019-05-18 23:46:09 +02:00
Darko Poljak
4a5425a95e Release 5.0.2 2019-05-17 13:03:54 +02:00
Darko Poljak
7195b594f3 ++changelog 2019-05-16 21:59:39 +02:00
Nico Schottelius
fe643b9092 ++doc 2019-05-14 17:10:46 +02:00