Commit graph

318 commits

Author SHA1 Message Date
Steven Armstrong
5e1dccaf8e examples++
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-06-17 14:03:51 +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
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
ac035ba0fd add missing dependency
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-05-25 20:23:53 +02:00
Aurelien Bondis
a55e24f49c type package_pacman: added --needed to accelerate install 2011-05-19 17:46:17 +02:00
Nico Schottelius
162aee1c9e Use sw_vers for os_version on macosx (by Jan Hacker)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-03 10:23:32 +02:00
Steven Armstrong
ecc0b2136d rename all occurences of hardware_type to machine
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-29 10:37:43 +02:00
Nico Schottelius
441ebf94c1 Steven++: Rename explorer hardware_type to machine
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-29 10:33:33 +02:00
Nico Schottelius
06f0e60705 more indent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-27 10:18:44 +02:00
Nico Schottelius
682919c7db +quotes +indent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-27 10:17:26 +02:00
Nico Schottelius
d224a8b5fc require package tzdata for the correct link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-27 10:16:59 +02:00
Ramon Salvadó
bf27a177da Added __timezone type (allows configuration of your localtime timezone) 2011-04-27 10:14:59 +02:00
Ramon Salvadó
9e7048b25d Fixed package_yum to work on CentOS 2011-04-26 14:07:18 +02:00
Nico Schottelius
7d8a58e6d1 and - debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-20 13:47:36 +02:00
Nico Schottelius
4d244e9ea2 import __ssh_authorized_key from Aurélien's tree
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-19 22:30:06 +02:00
Steven Armstrong
88a667b17f docfix: add missing =
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-06 23:42:22 +02:00
Steven Armstrong
df6c2909cb bow infront of the whitespace nazi
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-06 23:31:38 +02:00
Steven Armstrong
6784d4ca16 docfix: add missing =
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-06 23:29:52 +02:00
Steven Armstrong
b29538a784 new types: __autofs_map, __autofs_master
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-06 23:27:28 +02:00
Nico Schottelius
3c37ac0b0f do not fail if nothing todo (__user and __group)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 22:24:11 +02:00
Nico Schottelius
88a6ee385b always use uname -m, until it breaks
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:46:21 +02:00
Nico Schottelius
9610dbf10f __debconf_set_selections: cat the file referenced, not the parameter!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:40:18 +02:00
Nico Schottelius
a493334431 [DOC] fixup manpage for type __package_pkg_openbsd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:24:01 +02:00
Andreas Brönnimann
e289235589 Fix typo 2011-04-06 20:16:36 +02:00
Andreas Brönnimann
836c2ae7b8 Add error output to __package_pkg_openbsd 2011-04-05 23:23:24 +02:00
Andreas Brönnimann
23c35acf16 Merge branch 'master' of git://git.schottelius.org/cdist 2011-04-05 19:52:16 +02:00
Andreas Brönnimann
52fb8d5661 Change platform to hardware_type 2011-04-05 19:50:45 +02:00
Andreas Brönnimann
aebf05001a Add platform explorer 2011-04-05 19:40:54 +02:00
Andreas Brönnimann
8ec728fd4b Type pkg_openbsd 2011-04-05 19:28:18 +02:00
Nico Schottelius
519212e396 error out if state given is unknown
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:53:56 +02:00
Nico Schottelius
ac976c9f70 find __package* -type f -exec sed -i 's/uninstalled/removed/g' {} \;
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:25:27 +02:00
Nico Schottelius
4ebcdc3ef1 find __package* -type f -exec sed -i 's/deinstalled/removed/g' {} \;
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 16:25:13 +02:00
Nico Schottelius
5710d9a606 delay __package_openbsd_pkg / wait for input of justastudent
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 14:57:22 +02:00
Nico Schottelius
edfedc5c06 in theory finish os_version
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 00:10:26 +02:00
Nico Schottelius
b474960774 explorer os_version supports macosx
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 00:03:23 +02:00
Nico Schottelius
02da74e437 add explorer os_version supporting openbsd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 23:57:36 +02:00
Nico Schottelius
654512c209 add template for __package_openbsd_pkg
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 23:50:48 +02:00
Nico Schottelius
785ec3f36f sort fields by alphabet
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 13:20:22 +02:00
Nico Schottelius
e464c5aaa2 simplify
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 11:04:00 +02:00
Nico Schottelius
d49e481a87 match on name: not name, may be invalid
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 11:00:15 +02:00
Nico Schottelius
db425d3925 use property, not key anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 10:59:04 +02:00
Nico Schottelius
4b76d8a7e0 __user: remove =~, cleanup and beautify, replace cut with awk
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-04 10:45:41 +02:00
Nico Schottelius
69a17d0b0e remove unecessary set -- "$@"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 14:25:00 +02:00
Nico Schottelius
18e433dd85 import corrected __group from nico/nico
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 14:24:20 +02:00
Nico Schottelius
5f0ecb0831 yum confuses me, document it, so others are saved
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 03:12:31 +02:00
Nico Schottelius
4ab1fdceff remove evil debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:57:02 +02:00