Commit graph

541 commits

Author SHA1 Message Date
Nico Schottelius
8a6ac230aa Merge remote-tracking branch 'benedikt/type-mysql_server' 2012-03-12 20:52:56 +01:00
Nico Schottelius
73113a2fe9 --whitespace
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-12 20:17:59 +01:00
Nico Schottelius
08ce990207 Merge remote-tracking branch 'benedikt/type-mysql_database' 2012-03-12 20:17:21 +01:00
Steven Armstrong
f3545a51fe be nice with them users
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-03-10 14:08:57 +01:00
Steven Armstrong
10d0cf00d6 /special/raw/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-03-10 14:07:13 +01:00
Steven Armstrong
1ea0ea0b1b add support for crontab EXTENSIONS, e.g. @reboot
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-03-09 20:05:50 +01:00
Matt Coddington
38b2e56786 tiny fix for __start_on_boot/explorer/state
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-01 08:44:37 +01:00
Giel van Schijndel
12d2c6c199 __start_on_boot type: add support for OpenWRT
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-21 22:25:45 +01:00
Nico Schottelius
342d7bc80e Merge remote-tracking branch 'jake/__package_pkg_freebsd'
Conflicts:
	conf/type/__package/manifest

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-02-21 09:58:02 +01:00
Benedikt Koeppel
cd8e286988 renamed --database to --name 2012-02-21 07:03:03 +01:00
Benedikt Koeppel
df512162cb --password is optional now, and added --no_my_cnf option
if no password is specified, then __mysql_server simply installs the
mysql-server package and doesn't perform any additional tasks.
if --password is specified, it writes its own .my.cnf configuration file
with the root password. This behaviour can be turned of by setting
--no_my_cnf "true"
2012-02-21 06:49:47 +01:00
Giel van Schijndel
afdfb660c7 Add support for OpenWRT packages
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 21:45:20 +01:00
Giel van Schijndel
9538ef6462 Properly detect OpenWRT in global explorers
Signed-off-by: Giel van Schijndel <giel+cdist@mortis.eu>
2012-02-20 18:25:22 +01:00
Jake Guffey
879522db4c Merge branch 'master' into __package_pkg_freebsd 2012-02-20 11:41:08 -05:00
Jake Guffey
377afe8b1c Migrated to using present/absent for --state param. 2012-02-20 10:51:18 -05: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
Benedikt Koeppel
6a491080f8 fixed man page for mysql_server
it is a singleton and thus can't have a name
2012-02-19 08:38:33 +01:00
Benedikt Koeppel
7715ba395c fixed mysql_server type
can install now successfully
removes test database and all grants
sets a root password
2012-02-19 08:38:33 +01:00
Benedikt Koeppel
3a810fa5ea fix manifest 2012-02-19 08:38:33 +01:00
Benedikt Koeppel
3ceb643487 fixed the generating of .my.cnf 2012-02-19 08:38:33 +01:00
Benedikt Koeppel
dc5fb8b769 fixed usage of __file 2012-02-19 08:38:32 +01:00
Benedikt Koeppel
01619614d4 splitted manifest up in manifest and gencode-remote 2012-02-19 08:38:32 +01:00
Benedikt Koeppel
b6a0d55c0b fixed title in mysql_server man page 2012-02-19 08:38:32 +01:00
Benedikt Koeppel
ff5c97342b new type "__mysql_server"
installs a MySQL server and performs some basic security changes.
2012-02-19 08:38:32 +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
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
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
605eaeb039 Merge branch 'master' into __package_absent_present 2012-02-16 16:35:47 +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
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
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
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