Commit graph

3449 commits

Author SHA1 Message Date
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
Nico Schottelius
76a3c20669 setup state_is
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:16:26 +01:00
Nico Schottelius
272c12e3f7 correct parameters in __package_luarocks
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:15:31 +01:00
Nico Schottelius
aa53a3f221 better warning
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:12:49 +01:00
Nico Schottelius
2fd671b380 Merge branch 'master' into __package_absent_present 2012-02-16 23:08:11 +01:00
Nico Schottelius
8f46b2ca05 reorder
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 23:08:02 +01:00
Nico Schottelius
605eaeb039 Merge branch 'master' into __package_absent_present 2012-02-16 16:35:47 +01:00
Nico Schottelius
baf8614e6c ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-16 11:13:50 +01:00
Nico Schottelius
27fb4374d3 Merge branch 'feature_boolean_parameter' of https://github.com/asteven/cdist 2012-02-16 11:04:50 +01:00
Steven Armstrong
79dedb5bb5 document boolean parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-16 10:17:09 +01:00
Jake Guffey
6a97cf8f26 Initial commit. Includes a few types in development and __package_pkg_freebsd. 2012-02-15 14:27:30 -05:00
Nico Schottelius
4a844ef265 ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 17:06:58 +01:00
Nico Schottelius
64bb1741aa cleanup local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 17:05:22 +01:00
Nico Schottelius
72fb77f135 extend not append
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 17:02:21 +01:00
Nico Schottelius
f031a40746 rebuild the command string
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 17:01:03 +01:00
Nico Schottelius
ab48a72ce1 return results from run()
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 16:25:18 +01:00
Nico Schottelius
a4882e7e30 remove useless script printing and reuse run() method
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 16:17:49 +01:00
Steven Armstrong
0760ff3c94 implement boolean parameters, forgotten files ;-)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-15 14:44:16 +01:00
Steven Armstrong
362bdcdbdd implement boolean parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-02-15 13:57:45 +01:00
Nico Schottelius
ddb5bd16c9 also support @daemon syntax from rc.conf
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 13:36:05 +01:00
Nico Schottelius
6ec57acce6 ++logchanges
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 13:08:29 +01:00
Nico Schottelius
67abdb3399 +lunchlogfile
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 12:46:36 +01:00
Nico Schottelius
9ee774c31b Merge branch 'feature_init_process' 2012-02-15 09:40:50 +01:00
Nico Schottelius
46e6ea4308 print name, not object (user does not need to see python way of things)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 09:27:30 +01:00
Nico Schottelius
be67059725 print name, not object (user does not need to see python way of things)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 09:27:11 +01:00
Nico Schottelius
824ec459ea cleanups in gencode
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:26 +01:00
Nico Schottelius
d427af2ee3 add hint on incomplete type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-15 08:50:03 +01:00
Nico Schottelius
5d47eb849f some stuff to be fixed
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 20:31:16 +01:00
Nico Schottelius
2f16b08bb0 also copy over the .css for manpages
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 20:31:02 +01:00
Nico Schottelius
2b0c273715 state_should is being populated in manifest, if not given
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 18:04:00 +01:00
Nico Schottelius
18eaa476e4 Merge branch 'master' into feature_init_process
Conflicts:
	doc/man/cdist-reference.text.sh

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 13:56:29 +01:00
Nico Schottelius
365c629db9 update variable availbility list in reference
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 13:55:50 +01:00
Nico Schottelius
2b380b7dc1 Merge branch 'master' into feature_init_process
Conflicts:
	doc/changelog
	doc/dev/todo/niconext
	doc/man/cdist-reference.text.sh
	lib/cdist/core/explorer.py

doc/man/cdist-reference.text.sh documents better reachability of
variables - also suitable for master?

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 13:53:16 +01:00
Nico Schottelius
0082b7f07c allow objects to start with /, but not to contain //; sanitise after validation
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 12:41:13 +01:00
Nico Schottelius
df54ab3284 mark same algorithmus for deps in logs
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 11:15:02 +01:00
Nico Schottelius
861b13ffe4 record sanitised object, not the user supplied one, as requirement
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-14 11:12:17 +01:00
Nico Schottelius
c9ae06db64 do not setup __debug - let the user do if required - do not interfere type with core
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 16:27:41 +01:00
Nico Schottelius
8f1735fab2 ++changes(2.0.8)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 16:22:46 +01:00
Nico Schottelius
d51a177a95 invent a generic CdistObjectError and point to definition source (easier debugging)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 16:22:14 +01:00
Nico Schottelius
0861276436 remove obsolete MissingEnvironmentVariableError()
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 16:14:48 +01:00
Nico Schottelius
ba0130594c remove latest before linking to prevent symlink below latest/
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 15:20:33 +01:00
Nico Schottelius
f8868349e6 cdist_object.type => cdist_object.cdist_type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 15:01:45 +01:00
Nico Schottelius
edd93aa1f8 -typo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:55:41 +01:00
Nico Schottelius
9925845828 only need release script for release
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:49:36 +01:00
Nico Schottelius
762b8e0a3a also check date on release
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:48:22 +01:00