Commit graph

3021 commits

Author SHA1 Message Date
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
Benedikt Koeppel
c67c0cf12d fixed mysql_database type
can now install a database, and create a user who manages that database
2012-02-19 08:42:13 +01:00
Benedikt Koeppel
cfaee39e70 new type 'mysql_database'
installs a database on an existing mysql_server remotely
2012-02-19 08:42:12 +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
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