Commit graph

3109 commits

Author SHA1 Message Date
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
Nico Schottelius
f8de3afb5f +releasedate
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:37:30 +01:00
Nico Schottelius
06cf5ec3c9 check release before releasing...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:37:10 +01:00
Nico Schottelius
632146114c update copyright
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:30:27 +01:00
Nico Schottelius
84b6df2e81 ++todo for anyone
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:29:44 +01:00
Nico Schottelius
f9ab756ee5 cleanup todo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:29:04 +01:00
Nico Schottelius
c8ec4c200a repair manpage for __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:28:30 +01:00
Nico Schottelius
e3ab8ef77b version increment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 14:25:11 +01:00
Nico Schottelius
f8aa1bf034 Merge remote-tracking branch 'github/master' 2012-02-13 11:30:24 +01:00
Nico Schottelius
95cbdeba27 document /, // behaviour of object id
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 11:30:11 +01:00
telmich
5d6e55d074 Merge pull request #34 from mcodd/user-gid-change-bug
fix for changing a user's group by name
2012-02-13 02:22:35 -08:00
Nico Schottelius
2d61070023 remove old IllegalRequirementError exception
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 10:47:40 +01:00
Nico Schottelius
2fce038423 correct catching exception to IllegalObjectIdError
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 10:43:42 +01:00
Nico Schottelius
f12a83f3dd -migration to CdistType error
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 10:41:12 +01:00
Nico Schottelius
0851af7d52 allow object_id to start and end with one /, fail with any //
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 10:39:04 +01:00
Nico Schottelius
8f75a9133f do not fail validation on empty object_id
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 10:38:36 +01:00
Nico Schottelius
a8e9b7feed :%s/cdist_object.type/cdist_object.cdist_type/g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 08:55:42 +01:00
Nico Schottelius
2bc201614a :%s/cdist_object.type/cdist_object.cdist_type/g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 08:54:09 +01:00
Nico Schottelius
1e5226e21c fix indention errors due to vim c&p
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 08:51:40 +01:00
Nico Schottelius
921b0c0dff do not submit run/exec types containing echo only
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 08:49:49 +01:00
Nico Schottelius
eadb62e67a minimal beaufity
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 08:44:09 +01:00
Nico Schottelius
dcd3bcee32 use the great method object_from_name() in emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:57:51 +01:00
Nico Schottelius
2492d51f6f make object_from_name() better readable
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:56:37 +01:00
Nico Schottelius
097b4ea6ad :%s/self.type/self.cdist_type/g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:50:11 +01:00
Nico Schottelius
754aba1a15 record source in setup_object not in requirements
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:47:33 +01:00
Nico Schottelius
f27730e10b finish rewrite to instance method
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:45:32 +01:00
Nico Schottelius
ab565dc3d9 cleanup / emulator
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:45:10 +01:00
Nico Schottelius
0c990e1756 add singleton / no object_id test to CdistObject
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-13 07:25:04 +01:00
Benedikt Koeppel
ad4aa19c3e new type __run_command
This cdist type allows you to run a specific command once at installation time.
optional parameter: --command Command (with arguments) to run.
2012-02-12 15:16:59 +01:00
Nico Schottelius
91ecfa7d3f back to 100% tests working
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 01:27:25 +01:00
Nico Schottelius
fb4f8784b6 rename Type => CdistType
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 01:18:14 +01:00
Nico Schottelius
1314567012 also begin to prefix type with cdist
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 01:10:57 +01:00
Nico Schottelius
4be37f6e93 begin rename Object => CdistObject
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 00:08:18 +01:00
Nico Schottelius
15fb097464 add function to sanitise object_id and verify no //
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 00:05:21 +01:00
Nico Schottelius
6dcbfc3b88 more todo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-12 00:05:01 +01:00
Nico Schottelius
2fc2df3a35 Preperation -> Preparation
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-11 11:53:40 +01:00
Nico Schottelius
947c9a4ccb ++changes for 2.0.7
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-10 16:17:53 +01:00
telmich
1025ed5897 Merge pull request #31 from asteven/issue-28
Robuster implementation of __key_value
2012-02-10 07:16:20 -08:00
Nico Schottelius
49917d2933 +object id issues/ideas
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-10 13:01:29 +01:00
Nico Schottelius
45053c6d84 allow pip to be non existent during explorer stage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 19:31:30 +01:00
Nico Schottelius
53c61d42ad remove useless if env:
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-09 19:12:49 +01:00