Commit graph

559 commits

Author SHA1 Message Date
Istvan Beregszaszi
cb47a7d56f Fix indenting. 2012-04-06 00:29:14 +03:00
pestaa
0e11583b1e Fix sed argumenting on FreeBSD. While specifying -i flag is optional on GNU sed, it is mandatory on non-GNU variants. In order to keep behavior backward-compatible, the backup file is always removed. 2012-04-05 23:21:11 +02:00
Nico Schottelius
0a03a15537 Merge branch '__start_on_boot' of https://github.com/asteven/cdist 2012-04-04 09:47:02 +02:00
Nico Schottelius
a586d6b54b Merge branch '__file_exists' of https://github.com/asteven/cdist 2012-04-04 09:44:14 +02:00
Steven Armstrong
e3f767f5a1 += example
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-04-04 09:37:18 +02:00
Nico Schottelius
f2a51f1a10 Merge branch '__file_exists' of https://github.com/asteven/cdist 2012-04-04 09:32:08 +02:00
Steven Armstrong
ffcf57ee45 implement --state exists
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-04-04 00:08:23 +02:00
Steven Armstrong
18a25dc65b file must be last argument
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-04-03 17:53:28 +02:00
Steven Armstrong
386c12f251 nested quotes should not be escaped
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-04-03 17:52:58 +02:00
Nico Schottelius
e540502830 Missing cat in __package_yum
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-04-03 05:59:24 +02:00
Nico Schottelius
f3efa1e74d enable __start_on_boot on amazon linux
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-30 09:14:25 +02:00
Jake Guffey
33cb887acf Merge https://github.com/telmich/cdist 2012-03-12 16:44:25 -04:00
Nico Schottelius
856514d70f Merge remote-tracking branch 'mcodd/groupmod-redhat-exception' 2012-03-12 20:56:57 +01:00
Nico Schottelius
db14277b41 move __mysql_server to types_submitted_for_inclusion
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-03-12 20:54:41 +01:00
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
Jake Guffey
5dc8d305e5 Bugfix
Modified pipeline to determine ${name}'s version if it's installed.
2012-03-05 14:57:37 -05: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
Jake Guffey
3ebda62f04 bugfix -- needed to pass '-r' to ${add_cmd} to retreive package from remote repository. 2012-02-22 12:41:45 -05: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