Commit graph

3891 commits

Author SHA1 Message Date
Nico Schottelius
1d933dd5d3 do not need to create directories - git will do this - thanks to Steven
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2013-01-20 22:02:10 +01:00
Nico Schottelius
61747c4cb7 ++comments
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2013-01-19 18:24:17 +01:00
Jason Staten
f16ac1911d Set permissions on existing directory
Previously, an existing directory would not have its permissions
modified by the __directory type. This change removes exiting early when
$state_is matches $state_should
2013-01-16 20:46:23 -07:00
Nico Schottelius
77e92ceba9 update changes in log file for dependencies based on discussion 2013-01-16 13:13:45 +01:00
Nico Schottelius
474d4f7cb0 Merge branch 'no_extra_output_from_machine_explorer' of https://github.com/contradict/cdist 2013-01-15 09:10:32 +01:00
f41b029ade Eliminiate excess output from machine explorer
command -v emits a string to stdout, silence this since we are only
interested in the return code.
2013-01-12 19:35:09 -08:00
Nico Schottelius
acb31b2632 do not push to ethz
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 22:41:20 +01:00
Nico Schottelius
fbda50dfb0 ++changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:16:22 +01:00
Nico Schottelius
e03f5d08dd move / correct tests in object and config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:14:23 +01:00
Nico Schottelius
ef45cd5ce0 fix removal of context alias in config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:14:07 +01:00
Nico Schottelius
2732a4ba5c finally finish the dynamic resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:10:18 +01:00
Nico Schottelius
527ec0889b remove unneeded fixtures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 20:53:38 +01:00
Nico Schottelius
4fd27e76a7 support dry_run in stage_run_iterate as well
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 19:37:43 +01:00
Nico Schottelius
c270538072 add dry_run option to object_run
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 19:36:00 +01:00
Nico Schottelius
eb93d1bebd begin tests for config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 15:33:50 +01:00
Nico Schottelius
369305f376 remove circularreferenceerror, because it is not being used anymore
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 15:33:41 +01:00
Nico Schottelius
8031c77700 fix some tests, break some others :-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-18 18:21:51 +01:00
Nico Schottelius
4faec43493 cleanup: remove call to old resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-18 17:37:07 +01:00
Nico Schottelius
958d2d336f various cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-18 17:16:26 +01:00
Nico Schottelius
442dc767dd merge resolver test into object test - because object requirement solving is implemented
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-16 12:55:36 +01:00
Nico Schottelius
cd8b3cf68d finish rewrite of dependency resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-16 12:47:13 +01:00
Nico Schottelius
6a8778e595 remove most of the resolver boilerplate, keep the interesting functions
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-14 08:43:52 +01:00
Nico Schottelius
81c92e5cc4 merge all resolver code into cdist_object (to gain the requirement searching code
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-14 08:41:56 +01:00
Nico Schottelius
16340b7d34 report on broken requirements, begin to satisfy requirements
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-14 08:41:17 +01:00
Nico Schottelius
6b6037d9bb todos for a simple resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-13 06:44:55 +01:00
Nico Schottelius
2e81379c18 add very simple solver for dependencies
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-13 06:41:33 +01:00
Nico Schottelius
d289cc2d3e +solver that accepts __git behaviour :)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-11 23:13:46 -08:00
Nico Schottelius
2e083db90a ++changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-11 09:26:53 -08:00
Jake Guffey
7d7ad2630c Fix issue #147
--state absent should imply --stopped.
2012-12-11 11:15:21 -05:00
Nico Schottelius
18a90eddee and --more line
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 14:56:25 -08:00
Nico Schottelius
7abcd09fdd -- lines
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 14:55:38 -08:00
Nico Schottelius
d515f3dbe2 fix asciidoc formatting
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 14:49:09 -08:00
Nico Schottelius
dd9083327d update confdir paths
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 14:41:50 -08:00
Nico Schottelius
2241576105 document $HOME/.cdist
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 14:26:11 -08:00
Nico Schottelius
e4c830ebca update changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 11:50:03 -08:00
Nico Schottelius
67c7351bec install the right package, not pyro...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 11:49:26 -08:00
Nico Schottelius
55aad25200 almost the eight
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-09 08:34:29 -08:00
Nico Schottelius
dc277b10c7 -typo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 14:15:28 -08:00
Nico Schottelius
98e86ae345 update, not grade
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 14:15:03 -08:00
Nico Schottelius
dc41c7a9e6 reference the upgrade guide for 2.0 to 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 14:08:01 -08:00
Nico Schottelius
d12645f230 not an
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 13:53:11 -08:00
Nico Schottelius
f64aaf74b7 +quotes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 13:44:02 -08:00
Nico Schottelius
765c5bb50c insert date for 2.1.0
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-08 13:43:18 -08:00
Nico Schottelius
839af573b1 move new types to the top
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-05 23:19:47 +01:00
Nico Schottelius
3167ececc6 add owner/group support to __git
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-05 23:16:03 +01:00
Nico Schottelius
ad1f0f77b8 reformat changelog for 2.1
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-05 23:07:49 +01:00
Nico Schottelius
8b91e3116a create working version of __git
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-05 23:07:21 +01:00
Nico Schottelius
5a3dc38e60 Merge branch 'master' into type__git 2012-12-05 22:46:07 +01:00
Nico Schottelius
4d2b576553 allow setting up version when running outside dir
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-03 09:47:48 +01:00
Nico Schottelius
20091cf1e9 integrate CDIST_PATH
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-01 17:16:39 +01:00