Commit graph

3796 commits

Author SHA1 Message Date
Steven Armstrong
37612ff102 add --state parameter to __directory type which allows removal of directories
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-21 23:06:13 +02:00
Steven Armstrong
76f07511a9 add --state parameter to __file type which allows removal of files
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-18 13:34:39 +02:00
Steven Armstrong
0d6171c69b start work on cinst partitioning
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-12 14:15:39 +02:00
Steven Armstrong
c421fb769c Merge remote branch 'asteven/master' into install 2011-07-05 09:50:24 +02:00
Steven Armstrong
c631a609ed +docs
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:43:30 +02:00
Steven Armstrong
ef393a5b8e make __apt_update_index a singleton
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:20:12 +02:00
Steven Armstrong
9c887319e6 use new type __apt_update_index
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:20:04 +02:00
Steven Armstrong
8dd994d1a6 new type: __apt_update_index
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:18:24 +02:00
Steven Armstrong
aa6b655cd3 new executable that uses its stdin as the initial manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 16:02:03 +02:00
Steven Armstrong
0736f7dfd3 ideas for type improvements
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 14:42:17 +02:00
Steven Armstrong
dd949d5984 explorers for types with clashing names not pushed to target
Thorsten Steenbock reported a bug where types with similar names, e.g
__first
__first_second
would interfere when transfering explorers to the target host.

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-01 13:18:18 +02:00
Nico Schottelius
41ee512596 update doc of __process: cannot start sshd, shouldn't stop sshd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-25 23:12:38 +02:00
Nico Schottelius
583d1bcc36 Merge remote-tracking branch 'steven/install' into install 2011-06-24 15:48:36 +02:00
Steven Armstrong
27966c058b +ideas for types
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-24 15:38:34 +02:00
Nico Schottelius
51da953e49 detect pre-os in explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-24 15:25:11 +02:00
Nico Schottelius
bf0acc2e31 +correction
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-24 15:07:29 +02:00
Steven Armstrong
4a9456787c +log cinst preos
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-24 15:02:20 +02:00
Nico Schottelius
37d4ecd907 init.sample fix
Franky Van Liedekerke:

> - the example init.sample file mentioned "deinstalled" for package
> state, but I believe it should be "removed"

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-23 13:38:36 +02:00
Nico Schottelius
429a31deca clearify alias/hosts/localhost
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-23 12:27:54 +02:00
Nico Schottelius
593806637b fix bugs found by Franky Van Liedekerke - #1
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-23 12:16:17 +02:00
Nico Schottelius
e99064c9f3 Two new types for the nex version: __postgres_role and __postgres_database
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 16:25:26 +02:00
Nico Schottelius
1abcee730b Merge remote-tracking branch 'steven/master' 2011-06-17 16:24:02 +02:00
Steven Armstrong
509d078113 me is ahead of myself
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 16:28:53 +02:00
Nico Schottelius
656f1f1237 add inverted logos for use on white background
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 15:01:51 +02:00
Nico Schottelius
512dd97cdc __type_explorer not __type_explorers::!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 14:29:22 +02:00
Nico Schottelius
8e37095bf2 global explorers, clearify wording
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 14:14:32 +02:00
Steven Armstrong
5e1dccaf8e examples++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 14:03:51 +02:00
Steven Armstrong
ed07f63045 +todo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 13:59:53 +02:00
Steven Armstrong
36b0cffeea --legacy todos
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 13:54:51 +02:00
Steven Armstrong
13dfbaf451 remove legacy todo file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 13:53:55 +02:00
Steven Armstrong
2fcdf3825b safer way to check for database existence
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 13:19:46 +02:00
Steven Armstrong
2cf67e321e in PATH we trust
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 13:14:57 +02:00
Steven Armstrong
94cdf36439 new type: __postgres_role
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 12:57:35 +02:00
Steven Armstrong
8e42336df3 new type: __postgres_database
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 12:57:35 +02:00
Nico Schottelius
e76b1bfe4d ++ changes for 1.7.1
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 00:03:07 +02:00
Steven Armstrong
b7921451c2 bugfix: properly quote value in awk script
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-16 22:52:18 +02:00
Steven Armstrong
2ffd5c837b __key_value: bugfix, explorer has no access to parameters created in manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-16 22:39:03 +02:00
Steven Armstrong
d21c52be1c Merge remote branch 'nico/master' 2011-06-14 07:58:34 +02:00
Nico Schottelius
f2badcd2b7 in theory can export library to user now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:03:38 +02:00
Nico Schottelius
167098d731 more ideas on how to install via cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:00:51 +02:00
Nico Schottelius
80c1d7d0cc idea of installing an os via cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-13 18:35:42 +02:00
Nico Schottelius
84d2930691 typo fixes (thanks to Derek Brost)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 23:24:09 +02:00
Nico Schottelius
d7ae5c88e6 and EXIT!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:26:13 +02:00
Nico Schottelius
d4eff6f89b ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:25:52 +02:00
Nico Schottelius
6f99de75a5 only trap signals in front end scripts
Otherwise children execute kill egain and the shell segfaults

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:23:53 +02:00
Nico Schottelius
56cf428d4c use kill 0 on SIGINT and SIGTERM, but not on trap EXIT
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:19:05 +02:00
Nico Schottelius
ca84f1b2b8 more requirements for code submission
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-02 08:14:50 +02:00
Steven Armstrong
ac035ba0fd add missing dependency
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-05-25 20:23:53 +02:00
Nico Schottelius
4e7c571b7d fixed 19:40 < drothli> telmich: http://www.nico.schottelius.org/software/cdist/man/cdist.html points to http://www.nico.schottelius.org/cdist/ which is a dead link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-19 19:46:20 +02:00
Aurelien Bondis
a55e24f49c type package_pacman: added --needed to accelerate install 2011-05-19 17:46:17 +02:00