Commit graph

2991 commits

Author SHA1 Message Date
Nico Schottelius
efd6a999b1 Merge remote-tracking branch 'mcodd/support_rsync_in_remote_copy' into exit_code_and_sigint_cleanup 2012-03-09 23:12:19 +01:00
Matt Coddington
3e6b866cae support rsync for remote copy 2012-03-09 15:43:49 -05:00
Nico Schottelius
eef408c1b3 record failing host and continue
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 14:26:28 +01:00
Nico Schottelius
5001e9cbe7 prevent tracebacks in tempfile code/initial manifest from stdin
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 13:01:11 +01:00
Nico Schottelius
58a88ca5bd remove useless try: block that was needed to find out how multiprocess /sigint behaviour works
NOT needed: KeyBoardInterrupet (aka SIGINT) is forwarded to processes spawned by multiprocess!

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:50:16 +01:00
Nico Schottelius
531ad2966f in fork() do sys.exit() so parent knows about failures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:48:41 +01:00
Nico Schottelius
d3b9aa6769 begin support for sensible exit codes of cdist
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-07 11:19:26 +01:00
Nico Schottelius
53ca7e7aca ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-01 09:28:23 +01:00
Matt Coddington
38b2e56786 tiny fix for __start_on_boot/explorer/state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-01 08:44:37 +01:00
Nico Schottelius
1016161bfb ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-22 09:11:00 +01:00
Giel van Schijndel
12d2c6c199 __start_on_boot type: add support for OpenWRT
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-21 22:25:45 +01:00
Nico Schottelius
566bfda6d2 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 15:11:46 +01:00
Nico Schottelius
bdf0870a57 Merge branch 'docfix' of https://github.com/muggenhor/cdist 2012-02-21 15:10:29 +01:00
Giel van Schijndel
6883498438 reference doc: fix environment variable list to be properly displayed
Prevent nesting of blockquotes below __object_id, preventing the
following environment variables from being displayed as list items.

Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-21 11:02:24 +01:00
Nico Schottelius
db86d7316a ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:59:13 +01:00
Nico Schottelius
342d7bc80e Merge remote-tracking branch 'jake/__package_pkg_freebsd'
Conflicts:
	conf/type/__package/manifest

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:58:02 +01:00
Nico Schottelius
63df800b56 ++changes(2.0.9)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:41:37 +01:00
Nico Schottelius
d11fb4dd6d Merge branch 'openwrt-support' of https://github.com/muggenhor/cdist 2012-02-21 09:39:21 +01:00
Giel van Schijndel
afdfb660c7 Add support for OpenWRT packages
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 21:45:20 +01:00
Giel van Schijndel
9538ef6462 Properly detect OpenWRT in global explorers
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 18:25:22 +01:00
Jake Guffey
879522db4c Merge branch 'master' into __package_pkg_freebsd 2012-02-20 11:41:08 -05:00
Nico Schottelius
a2a0fd6b97 +error log (2 missing bits)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-20 17:07:06 +01:00
Jake Guffey
377afe8b1c Migrated to using present/absent for --state param. 2012-02-20 10:51:18 -05:00
Nico Schottelius
edcb2363e9 ++version(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-20 11:18:37 +01:00
Nico Schottelius
cfb8e7d372 move __run_command to types_submitted_for_inclusion directory
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-20 10:22:52 +01:00
Nico Schottelius
be6522c729 Merge remote-tracking branch 'benedikt/type-run_command' 2012-02-20 10:21:17 +01:00
Jake Guffey
b7e3378262 Modified __package to allow pkgsite param, bugfix in __package_pkg_freebsd where it wasn't setting the PACKAGESITE variable on remote side. 2012-02-17 12:18:06 -05:00
Jake Guffey
5443d1a64a Modified __package to utilize __package_pkg_freebsd 2012-02-17 11:35:59 -05:00
Jake Guffey
1d5b7cef9c Moved __package_pkg_freebsd to separate branch 2012-02-17 11:35:31 -05:00
Jake Guffey
ffec26d462 Removed __package_pkg_freebsd customization
from __package type for inclusion in a separate branch.
2012-02-17 11:30:21 -05:00
Jake Guffey
ff5d0fd7fc Removed newly-developed types for inclusion
in separate branches.
2012-02-17 11:29:12 -05:00
Nico Schottelius
39417fee8f ++todo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 14:15:38 +01:00
Nico Schottelius
1dfb587264 ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 14:07:00 +01:00
Nico Schottelius
5e20ba5a13 ++logs, +import sys at top level
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 13:59:16 +01:00
Nico Schottelius
aa81486fe9 sys.exit() in try
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 13:47:00 +01:00
Nico Schottelius
61666664c1 ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 12:51:14 +01:00
Nico Schottelius
ae898ac870 +kbdirq
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 12:21:03 +01:00
Nico Schottelius
0f649577ad update __process to new style, warn if not present/absent
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 12:10:42 +01:00
Nico Schottelius
e0f80f0103 include object_name in warning
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:54:34 +01:00
Nico Schottelius
241f66a537 +quotes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:24:29 +01:00
Nico Schottelius
2a8c764f78 Merge branch '__package_absent_present' 2012-02-17 11:21:09 +01:00
Nico Schottelius
9eeac41bea ++ideas
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 11:20:47 +01:00
Nico Schottelius
9e4b3d2325 +mirror
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-17 10:27:23 +01:00
Nico Schottelius
78bdbce700 absent/present implemented in __package_absent_present branch
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:38:09 +01:00
Nico Schottelius
31aa102b20 ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:37:08 +01:00
Nico Schottelius
6afcb0e9ee indent + simplify
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:34:22 +01:00
Nico Schottelius
48f3252de5 correct state error message to use new variable
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:29:51 +01:00
Nico Schottelius
2f01fd6ce0 support absent/present in __package_yum
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:26:23 +01:00
Nico Schottelius
e4aafe0af9 support absent/present in __package_rubygem
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:23:19 +01:00
Nico Schottelius
9fab782a0c update __package_luarocks to new style state checking
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:18:26 +01:00