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 |
|
Nico Schottelius
|
1dcc420a38
|
no, no common base class for local/remote
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 19:09:32 +01:00 |
|
Nico Schottelius
|
d55c52601f
|
move run_type_explorer near run_type_explorers
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 19:08:32 +01:00 |
|
Nico Schottelius
|
1713a70428
|
begin changes to __package_luarocks and __package_pkg_openbsd
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 19:06:13 +01:00 |
|
Nico Schottelius
|
3c19e7ab4c
|
update __package_pacman for absent/present
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 11:54:13 +01:00 |
|
Nico Schottelius
|
52849b91c5
|
warn about deprecated usage
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 10:25:05 +01:00 |
|
Nico Schottelius
|
8e5a0f83c5
|
rename explorer to state, being more consistent internally
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-09 10:10:13 +01:00 |
|
Nico Schottelius
|
602e57455d
|
support absent/present in __package_apt
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:23:49 +01:00 |
|
Nico Schottelius
|
2aed047f75
|
2nd correction round for manpages
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:23:31 +01:00 |
|
Nico Schottelius
|
242ce6dfd2
|
first round of absent/present changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:16:09 +01:00 |
|
Nico Schottelius
|
5a64c89c8e
|
document new type
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:06:16 +01:00 |
|
Nico Schottelius
|
e42bf61413
|
new type: __package_pip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:05:48 +01:00 |
|
Nico Schottelius
|
28b69b8468
|
document dependency problem
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-08 22:03:19 +01:00 |
|
Steven Armstrong
|
817ce9c256
|
/egrep/grep -E/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-08 08:31:59 +01:00 |
|
Matt Coddington
|
1f8693a722
|
case-based exceptions only on OS's where we know they are needed
always use -g instead of --gid when passing arg to groupmod
|
2012-02-07 17:29:55 -05:00 |
|
Matt Coddington
|
908e74689c
|
improve comments and use better variable names
|
2012-02-07 12:38:21 -05:00 |
|
Matt Coddington
|
4d845b3fea
|
fix for changing a user's group by name
|
2012-02-07 10:27:28 -05:00 |
|
Nico Schottelius
|
229c4f6c37
|
++changes for 2.0.7
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-07 08:57:10 +01:00 |
|
Nico Schottelius
|
d38928f686
|
Merge branch 'issue-29' of https://github.com/asteven/cdist
|
2012-02-07 08:56:26 +01:00 |
|
Nico Schottelius
|
92c35ddd98
|
++todo
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-07 07:56:08 +01:00 |
|
Nico Schottelius
|
c55a4652c9
|
++changes
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2012-02-07 07:55:50 +01:00 |
|
Matt Coddington
|
acb4644f1e
|
redhat groupmod doesn't support --gid option
redhat groupmod doesn't support password chages
redhat doesn't support getent gshadow
|
2012-02-06 16:33:37 -05:00 |
|
Matt Coddington
|
bf1f6add55
|
bugfix for shadow field number
|
2012-02-06 15:23:38 -05:00 |
|
Steven Armstrong
|
9d25dfdfa9
|
properly handle existing links
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-06 21:08:59 +01:00 |
|
Steven Armstrong
|
ef81f03e89
|
have to report absent state no matter what the desired state is
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-03 22:49:10 +01:00 |
|
Steven Armstrong
|
cad2097d05
|
complete rewrite: use state explorer to determine current state, more robust implementation for adding, changing, removing key/values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-03 22:43:34 +01:00 |
|
Steven Armstrong
|
4628dad045
|
cleaner way to set default values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-03 20:55:24 +01:00 |
|
Steven Armstrong
|
85f7880c7e
|
add a hopefully more robust implementation for changing existing values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2012-02-03 20:50:17 +01:00 |
|