Steven Armstrong
2e61f54c11
import latest changes from private repo
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-09 10:51:53 +01:00
Steven Armstrong
8c1aa87296
Merge remote-tracking branch 'telmich/master' into filestate
...
Conflicts:
conf/type/__file/gencode-local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-09 10:45:27 +01:00
phrawzty (dan)
dbf0767c4e
Add type __cdistmarker.
2012-01-06 16:58:58 +01:00
Steven Armstrong
a511461d9b
Merge remote-tracking branch 'telmich/master' into nfs
2012-01-06 11:04:17 +01:00
Steven Armstrong
865acf3771
strip duplicate /
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:50:34 +01:00
Steven Armstrong
b67d785a24
fix copy/paste error, use proper prefix and suffix
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:50:01 +01:00
Steven Armstrong
4e4a1598b2
run exportfs after changing /etc/exports, bugix: remove trailing quote
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:47:51 +01:00
Steven Armstrong
6fe66834fd
use pattern instead of string
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:46:32 +01:00
Steven Armstrong
77350b0a1d
use pattern instead of string
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-01-06 10:46:06 +01:00
phrawzty (dan)
7cbc494301
Add --regex to manual
2012-01-05 11:13:30 +01:00
phrawzty (dan)
6d55d7ae82
--regex to make __addifnosuchline more flexible
2012-01-05 11:08:16 +01:00
Nico Schottelius
06df35ef0f
Merge branch 'luarocks-package' of https://github.com/cwarden/cdist
2012-01-04 19:38:13 +01:00
Christian G. Warden
bdafb4ffef
A new type for managing luarocks packages
...
The __package_luarocks type manages the installation of Lua modules
distribued using LuaRocks. It is based on __package_rubygem.
2012-01-04 10:08:45 -08:00
Christian G. Warden
b0e25e8784
fix typo
2012-01-04 07:58:51 -08:00
Steven Armstrong
6b0935c207
/__self/__object_name/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 15:43:06 +01:00
Steven Armstrong
654e19f28b
mark _run_command as private
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 14:40:25 +01:00
Steven Armstrong
c59b2839cd
Export target_host so remote_copy script has access to it
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-18 09:03:36 +01:00
Nico Schottelius
7d10560a61
Revert "pgrep -x -f is to restrictive -> impossible to guess/match"
...
It's not, regexp are your friends :-)
This reverts commit d7623fcf21
.
2011-11-15 09:21:07 +01:00
Nico Schottelius
5efb921980
Merge remote-tracking branch 'steven/master'
2011-11-15 09:20:48 +01:00
Nico Schottelius
98ff723b24
add another example for __process
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-11-15 09:20:27 +01:00
Steven Armstrong
d7623fcf21
pgrep -x -f is to restrictive -> impossible to guess/match
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 23:18:44 +01:00
Steven Armstrong
b9301c8194
bugfix: process names dont start with slash
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 23:05:13 +01:00
Steven Armstrong
d88a4ea55f
new type: __nfs_client
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:15 +01:00
Steven Armstrong
71260c7782
new type: __nfs_server
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:09 +01:00
Steven Armstrong
6d45a49219
new type: __nfs_export manage /etc/exports
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-14 17:54:00 +01:00
Steven Armstrong
fa95291cbc
use diff instad of cmp
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-02 16:46:50 +01:00
Steven Armstrong
e195eb46c4
new type __cron: installs and manages cron jobs
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-11-02 16:30:35 +01:00
Nico Schottelius
d6d4d374bd
remove unecessary whitespace :-)
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-31 18:26:36 +01:00
Steven Armstrong
5ac857a87c
realy, dont fail if lsb_release does not exist
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-31 16:20:48 +01:00
Steven Armstrong
d4aa04f35d
dont fail if lsb_release does not exist
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-31 16:16:10 +01:00
Steven Armstrong
de84542579
no lsb_release -> no output
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-31 14:36:58 +01:00
Steven Armstrong
9fedf314cf
add explorers for lsb_*
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-31 11:09:42 +01:00
Steven Armstrong
4775c93a6e
use __remote_copy in __file type
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-21 16:01:39 +02:00
Nico Schottelius
837489ce85
remove obsolete preseed code from __package_apt
...
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 15:54:08 +02:00
Nico Schottelius
1e4de3521a
skip errer detection in findline explorer
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-16 19:38:50 +02:00
Steven Armstrong
648f57173c
bugfix: use -gt when comparing int values
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 23:53:06 +02:00
Steven Armstrong
9d6a00af38
--debug without creating syntax errors
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 23:13:53 +02:00
Steven Armstrong
f0223647e3
--debug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 23:12:49 +02:00
Steven Armstrong
de4ddf9d1e
mv installer install
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 23:03:50 +02:00
Steven Armstrong
3d017abd6f
pass options to mkfs without -o
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 22:56:50 +02:00
Steven Armstrong
20241a0c5c
fix copy/paste error
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 22:56:24 +02:00
Steven Armstrong
9fd74acfac
add support for swap
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 22:50:49 +02:00
Steven Armstrong
67cbfee60b
Merge remote-tracking branch 'telmich/master'
2011-10-04 22:43:53 +02:00
Steven Armstrong
27a774432e
mark __partition_msdos and __partition_msdos_apply as installer types
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 22:42:19 +02:00
Steven Armstrong
acc64caf95
new type: __mkfs
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 22:23:26 +02:00
Steven Armstrong
919f251759
++examples
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-10-04 16:33:58 +02:00
Steven Armstrong
8ac691f4ac
Merge remote-tracking branch 'asteven/master' into partition_msdos
2011-10-04 16:30:36 +02:00
Steven Armstrong
32832777c6
give disk some time to write parition table
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 15:24:19 +02:00
Steven Armstrong
5940c21fba
get rid of bashism /echo -n/printf/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-04 14:56:59 +02:00
Steven Armstrong
2fd0223347
Merge remote-tracking branch 'cdist/master' into partition_msdos
2011-10-04 13:54:35 +02:00
Steven Armstrong
840254cdd3
Merge remote-tracking branch 'cdist/master'
2011-09-27 15:40:17 +02:00
Nico Schottelius
b9335bb7ce
update os/os_version explorer to support owl (openwall linux)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 10:35:25 +02:00
Steven Armstrong
b2f1d8e7c0
Merge remote-tracking branch 'cdist/master'
2011-09-27 09:32:45 +02:00
Nico Schottelius
1cfb6bf5a8
make manpage compile for __partition_msdos_apply
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-27 00:11:59 +02:00
Steven Armstrong
9751f16fb1
Merge remote-tracking branch 'cdist/master'
2011-09-26 15:01:12 +02:00
Nico Schottelius
c8dc4181f6
Merge branch 'master' into split_into_modules
...
Conflicts:
.gitignore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-26 09:36:36 +02:00
Nico Schottelius
c10fedaf8c
it's not preos, but cdist-preos
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-25 21:10:18 +02:00
Nico Schottelius
a5bfd41195
Detect owl
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-25 15:26:54 +02:00
Steven Armstrong
ef97849676
distinguish between disk size and extended partition size
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-23 16:20:26 +02:00
Steven Armstrong
721119a34f
quote arguments
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-23 16:18:55 +02:00
Steven Armstrong
cd5b0cc50c
merge cdist/master
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-19 15:05:12 +02:00
Steven Armstrong
a3086ae795
make it actually write the partition
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-17 09:27:19 +02:00
Steven Armstrong
16d86dcf04
+debug, -type, -bug
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-17 09:26:09 +02:00
Steven Armstrong
9d3fa5d4c7
new type __partition_msdos_apply
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-17 08:55:24 +02:00
Steven Armstrong
31e9937098
finish new type for partition definition
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-17 06:53:18 +02:00
Steven Armstrong
a4ec6f93ce
Merge remote-tracking branch 'cdist/install' into install
2011-09-16 12:43:43 +02:00
Nico Schottelius
3f2a27fa82
Merge branch 'master' into install
2011-09-16 12:31:25 +02:00
Steven Armstrong
b6738aaf60
rename __cinst_partition_msdos __partition_msdos
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-09-16 12:19:09 +02:00
Nico Schottelius
298784b12b
__package_rubygem: remove optional parameter version, it is not used
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-20 23:02:53 +02:00
Nico Schottelius
b82f2b0f23
fixup manpage for cdist-type__package_rubygem
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-20 23:00:31 +02:00
nuex
b7deafc26d
fix author email in gencode-remote
2011-08-17 09:27:36 -04:00
nuex
bbe0d4a5db
__package_rubygem
2011-08-17 09:21:07 -04:00
Steven Armstrong
e978542381
safer quoting
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-08-02 15:22:24 +02:00
Steven Armstrong
2b8d0731a1
ignore nonexistent files when deleting
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-22 00:42:12 +02:00
Steven Armstrong
4836504ad6
ignore nonexistent files when deleting
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-22 00:41:37 +02:00
Steven Armstrong
71c33f4483
add forgotten parameter
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-22 00:33:06 +02:00
Steven Armstrong
65de5c1888
add --state parameter to __link type which allows removal of links
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-07-22 00:28:41 +02:00
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
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
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
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
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
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
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
Nico Schottelius
0b7024a2cc
adjust grep string
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:53:07 +02:00
Nico Schottelius
aedbc263d7
need to use --whatprovides
...
This ensure we also check for other packages which are used instead
of the requested one, which does not work with rpm -q:
[root@brett ~]# rpm -q vim
package vim is not installed
[root@brett ~]# yum --assumeyes --quiet install "vim"
Package 2:vim-enhanced-7.3.056-1.fc14.x86_64 already installed and
latest version
[root@brett ~]# rpm -q --whatprovides vim
vim-enhanced-7.3.056-1.fc14.x86_64
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:49:57 +02:00
Nico Schottelius
13f4140b3d
update manpage for __package_yum
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:26:42 +02:00
Nico Schottelius
a778dee9fc
use rpm -q to get status
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:19:47 +02:00
Nico Schottelius
bcc7d0e795
cleanup of gencode-remote
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:19:30 +02:00
Nico Schottelius
d9e2493eb9
add fedora support to __package
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:13:44 +02:00
Nico Schottelius
e19c079f24
add template for new type __package_yum
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:00:20 +02:00
Nico Schottelius
e700437b01
also detect fedora
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 01:20:24 +02:00
Nico Schottelius
cee51f0088
make __package_apt use DEBIAN_FRONTEND=noninteractive
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 13:12:00 +02:00
Nico Schottelius
e21283c579
remove preseeding support from __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 13:08:47 +02:00
Nico Schottelius
0db21eb308
document, cleanup and theoretically finish __debconf_set_selections
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 12:47:48 +02:00
Nico Schottelius
48a96591d1
add template for type __debconf_set_selections/
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-01 12:11:50 +02:00
Steven Armstrong
fb426bd412
__directory type does not have a destination parameter
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 20:10:40 +02:00
Steven Armstrong
1e42861ff4
Merge remote branch 'nico/master'
2011-03-28 17:08:46 +02:00
Steven Armstrong
f337612d36
Merge remote branch 'nico/master'
2011-03-28 15:22:45 +02:00
Nico Schottelius
9bdba19d4a
prepend slash when using __object_id as name for __process
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-28 15:20:58 +02:00
Nico Schottelius
417ce61821
-''
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-28 08:54:41 +02:00
Nico Schottelius
271aa95a4d
add --name example to manpage
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 23:32:28 +02:00
Nico Schottelius
b8002efa6d
add support for __process --name (in theory)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 23:29:10 +02:00
Nico Schottelius
40b7b158c0
-debug
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 23:13:18 +02:00
Nico Schottelius
0e8d36f592
add -x to pgrep
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 23:12:25 +02:00
Nico Schottelius
ec29717870
in theory finish __process
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 22:59:00 +02:00
Nico Schottelius
e7c1d3f16b
add parameter
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 00:07:39 +01:00
Nico Schottelius
e4467de8fd
describe how __process should work
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-27 00:05:30 +01:00
Nico Schottelius
06fe371b1d
create type explorer "runs"
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-26 23:56:17 +01:00
Nico Schottelius
6c6ece859b
update documentation for __process
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-26 23:51:45 +01:00
Nico Schottelius
4ba452874a
add template for fancy idea __process
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-26 23:45:41 +01:00
Steven Armstrong
4088da5d8c
escape __NOTSET__ in man page
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-24 23:47:05 +01:00
Steven Armstrong
b959a14dc2
fix length of ascidoc header
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-24 23:22:08 +01:00
Steven Armstrong
abaa79e19a
Merge remote branch 'nico/master'
2011-03-24 23:20:07 +01:00
Steven Armstrong
e27501218f
new type __key_value
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-24 23:16:25 +01:00
Nico Schottelius
0961e003be
Revert "new type: __apt_update_index" (until it works)
...
This reverts commit 9094f50b03
.
2011-03-24 15:28:20 +01:00
Nico Schottelius
c968028596
Revert "use __apt_update_index" (until it works)
...
This reverts commit 15b1bdab77
.
2011-03-24 15:28:07 +01:00
Nico Schottelius
4b01791e69
Merge remote-tracking branch 'sans/master'
2011-03-24 14:35:58 +01:00
Nico Schottelius
c7ef2210fc
update manpage for __apt_ppa
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-24 13:32:09 +01:00
Steven Armstrong
15b1bdab77
use __apt_update_index
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-24 08:31:23 +01:00
Steven Armstrong
9094f50b03
new type: __apt_update_index
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-24 08:30:51 +01:00
Steven Armstrong
e829fe65cd
checking for filesize already includes check for file existence
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 21:14:17 +01:00
Steven Armstrong
0356d2eeff
also check if sources file is not empty
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 17:45:03 +01:00
Steven Armstrong
f46b2a9a5a
no longer need check-apt-repository
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 17:39:28 +01:00
Steven Armstrong
2bab4ed93b
dont use python in type explorer
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 17:38:28 +01:00
Steven Armstrong
08a53cb130
new type: __apt_ppa
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-23 13:18:13 +01:00
Nico Schottelius
e4190c3d0a
add --recursive to __directory (man, gencode, parameter, changelog)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-22 09:59:41 +01:00
Nico Schottelius
4ff794b11a
__file now supports --preseed (including the documentation)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 10:07:38 +01:00
Nico Schottelius
3927da66b6
update __directory documentation
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 09:44:14 +01:00
Nico Schottelius
1a4fd4854c
__motd now supports --source as well
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 09:30:42 +01:00
Nico Schottelius
240b4aebbc
begin to add --preseed to __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 09:14:42 +01:00
Nico Schottelius
c0705c1efd
update documentation for __issue
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-21 08:54:12 +01:00
Nico Schottelius
a6b4c468e3
and add __issue parameter
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:04:50 +01:00
Nico Schottelius
04a07cfaf6
enhance and fix __issue
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-20 02:04:30 +01:00
Nico Schottelius
c87ecbe23f
update comment for __link
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:44:25 +01:00
Nico Schottelius
c601298760
gencode -> gencode-remote in types
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:39:01 +01:00
Nico Schottelius
a761a035fe
update __file with gencode-local and gencode-remote
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 23:26:41 +01:00
Nico Schottelius
3eed0f97ce
begin to migrate __file to new local/remote scheme
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 22:38:36 +01:00
Nico Schottelius
ea2cbb176a
fix generation of manpage for cdist-type__removeline
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-19 14:50:11 +01:00
Steven Armstrong
cef58ae85f
handle numeric group id as well as group name for consistency with usermod|groupmod
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-18 23:37:10 +01:00
Nico Schottelius
43afb07598
move init to init.sample to avoid conflicts with real world
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:17:49 +01:00
Nico Schottelius
cbc8a254f4
+=
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:11:47 +01:00
Nico Schottelius
d4d2f47b60
more examples, document dependencies
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 02:01:37 +01:00
Nico Schottelius
756226f153
enhance example even further
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:53:54 +01:00
Nico Schottelius
96cbb37a29
fix example code in conf/manifest/init
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-18 01:51:44 +01:00
Nico Schottelius
b521fa07a1
Merge branch 'master' into dependencies
2011-03-18 00:01:20 +01:00
Nico Schottelius
f358a34e1d
obsolete cdist-bin-transfer
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-17 20:40:22 +01:00
Daniel Roth
74d3a23930
Removed a not
2011-03-17 19:06:33 +01:00
Daniel Roth
5c39063a89
Added type __removeline
2011-03-17 18:58:28 +01:00
Steven Armstrong
59e774b08d
fix merge conflict in changelog
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-16 14:41:43 +01:00
Nico Schottelius
e0520edb10
document redhat support
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 11:20:18 +01:00
Nico Schottelius
1bc37f5ba2
setup mode 0644 for motd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 11:20:07 +01:00
Nico Schottelius
f94b39c22b
fix __file usage in __issue and add redhat support
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 11:16:45 +01:00
Nico Schottelius
aee6953ecd
[BUGFIX] __link: remove trailing 's' in variable name
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 10:28:00 +01:00
Nico Schottelius
d2c4ffb5f0
cleanup manpages for new types
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 08:45:01 +01:00
Nico Schottelius
e7f64758ce
update conf/manifest/init example
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 08:39:51 +01:00
Nico Schottelius
0847b5b364
Merge branch 'master' into filedirectorylink
2011-03-16 08:36:40 +01:00
Nico Schottelius
bf60df1a9b
cleanup in __file manifest
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 08:31:30 +01:00
Nico Schottelius
501fcf36d1
remove old --destination parameter from __file explorers
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 08:30:02 +01:00
Nico Schottelius
f69802b3d8
s/md5sum/cksum/g
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-16 08:25:36 +01:00
Steven Armstrong
af0b62ecef
update man page for __group type
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:41:30 +01:00
Steven Armstrong
ec99a22db6
add new type __group
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:37:17 +01:00
Steven Armstrong
58718f735a
use getent to get entry from shadow database
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:35:55 +01:00
Steven Armstrong
4432b476d0
__user: only set password if it changed
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:26:24 +01:00
Steven Armstrong
1518bf1935
__user: only run commands if value has changed
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 23:11:01 +01:00
Nico Schottelius
6f7312e877
some cleanups in cdist-type__addifnosuchline(7)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:25:09 +01:00
Nico Schottelius
4a44b3bdf5
__file: -destination
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:19:49 +01:00
Daniel Roth
2ed638a0a2
Minor doc fixes
2011-03-15 21:18:18 +01:00
Nico Schottelius
e06e8026dd
begin to cleanup __file
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:18:15 +01:00
Nico Schottelius
1619964cbb
__file does not require --type anymore
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:13:01 +01:00
Nico Schottelius
1202131195
update __directory parameters
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:11:59 +01:00
Nico Schottelius
86d98ddec4
begin cleanup doc for __directory
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:06:18 +01:00
Daniel Roth
c010c9b288
moved manpages
2011-03-15 21:02:47 +01:00
Steven Armstrong
42c87edad1
moved __package_gentoo to gentoo branch
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 20:52:52 +01:00
Nico Schottelius
4c59a0fde1
cleanup __link
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 20:51:09 +01:00
Nico Schottelius
b8c68fcb9e
remove explorer for __directory
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 20:37:51 +01:00
Nico Schottelius
3d24edae51
+ template for __link
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 20:37:23 +01:00
Steven Armstrong
bead47f6bf
remove currently unhandled parameter
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 17:10:27 +01:00
Steven Armstrong
f2f67ad0ad
+man __package_emerge/man.text
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 17:09:45 +01:00
Steven Armstrong
26b10dec69
+man
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 17:01:35 +01:00
Steven Armstrong
a9d0bfee16
new type __user
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-15 16:47:40 +01:00
Nico Schottelius
8d8491232c
add template for type __directory
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 16:41:04 +01:00
Nico Schottelius
63452e0fee
document __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 16:37:34 +01:00
Nico Schottelius
77381b9981
cleanup manpages for __issue and __motd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 16:35:04 +01:00
Nico Schottelius
aa4a23e7dd
doc: -\n
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 00:18:31 +01:00
Nico Schottelius
fe2d4877ce
-plural (old stuff)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 00:06:50 +01:00
Nico Schottelius
2d4cbdddab
document new features
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 00:05:38 +01:00
Nico Schottelius
5821ceebbc
add support for --owner and --group in __file
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 00:00:25 +01:00
Nico Schottelius
8ff02673f0
remove __motd from localhost (not good as an example for testers)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-14 23:43:00 +01:00
Nico Schottelius
1187a8594a
more stuff for upcoming 1.0.4
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-14 23:41:46 +01:00
Nico Schottelius
49d3548f46
support debian/ubuntu in __motd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-14 23:41:36 +01:00
Nico Schottelius
710ce98386
[DOC] __package_pacman gained manpage
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-14 23:23:32 +01:00
Steven Armstrong
8b614b274c
fix fixing the merge conflict
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-14 09:32:18 +01:00
Steven Armstrong
a50e380174
fix merge conflict
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-14 09:26:18 +01:00
Nico Schottelius
d8ab38d846
[DOC] type __issue
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-12 19:48:37 +01:00
Nico Schottelius
bfb43079e3
Merge branch 'dev' of git://git.d-roth.li/cdist
...
Conflicts:
conf/manifest/init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-12 19:11:24 +01:00
Nico Schottelius
32042aba8f
cleanup motd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-12 18:58:22 +01:00
Nico Schottelius
ff1eb0895b
add new type: __motd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-12 18:47:34 +01:00
Nico Schottelius
783c4b12ca
[__issue] remove unneeded parameters
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-11 19:08:52 +01:00
Nico Schottelius
d4fac09518
fail, if source is not existing
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 19:16:21 +01:00
Nico Schottelius
a190ee13b8
__file: --type symlink supported
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 18:14:35 +01:00
Nico Schottelius
5ababb1249
correct manifest of __issue
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 17:09:04 +01:00
Nico Schottelius
ddc1724ae0
Merge branch 'master' into only_once
2011-03-10 17:08:22 +01:00
Nico Schottelius
03502567e3
check for existence before (re-)creation
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:40:05 +01:00
Nico Schottelius
e48458f27f
add explorer to find out whether file exists
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:38:12 +01:00
Nico Schottelius
62c6446412
exit true in case packet is not installed
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:36:58 +01:00
Nico Schottelius
637163d4af
only md5sum if file is a regular file (not a directory)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-10 13:31:00 +01:00
Nico Schottelius
a67073a45b
add example for singleton
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-09 22:21:39 +01:00
Nico Schottelius
41d82ea89a
add only once to __issue
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-09 21:58:34 +01:00
Nico Schottelius
8ac043e95f
comment the initial manifest
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-09 20:22:02 +01:00
Nico Schottelius
1c45e4fe17
begin the manpage integration with man.text
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-09 13:06:23 +01:00
Daniel Roth
35df795342
Return values replaced
2011-03-08 20:21:10 +01:00
Daniel Roth
5333b98299
Testing/Demonstration of type addifnosuchline
2011-03-08 19:53:14 +01:00
Daniel Roth
ac815524f4
Implementation of addifnosuchline type
2011-03-08 19:51:47 +01:00
Steven Armstrong
885f362066
Merge remote branch 'nico/master'
2011-03-08 18:17:59 +01:00
Nico Schottelius
cc28d4ddbb
do not exit 0 if __package_$type does not exit 0
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-08 12:39:05 +01:00
Steven Armstrong
a6b88d323e
Merge remote branch 'nico/master'
2011-03-07 23:08:37 +01:00
Nico Schottelius
d3fe22b281
update __file to allow md5 also locally
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 18:04:59 +01:00
Nico Schottelius
5b2c52b977
__file: support md5 of macosx
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 17:51:34 +01:00
Nico Schottelius
4e4e53aebd
+;; (esac)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 14:25:35 +01:00
Nico Schottelius
81acb39ad6
explorer/os: add support for solaris
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 13:56:29 +01:00
Nico Schottelius
e896fc6d4e
explorer/os: add support for *bsd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 13:56:18 +01:00
Nico Schottelius
14e7427508
add macosx support to explorer/os
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-07 13:32:14 +01:00
Nico Schottelius
62b392e65d
use __global in type __package
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 15:11:37 +01:00
Nico Schottelius
908faea756
finish cdist-quickstart
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-04 02:06:13 +01:00
Nico Schottelius
30730a3ccc
+add suse support to explorer "os"
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 20:17:05 +01:00
Nico Schottelius
b739f452b0
-debug
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 15:43:55 +01:00
Nico Schottelius
1d133ecb0a
fix type __file: md5sum from stdin (=same name) and prepend / to object_id
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 15:42:09 +01:00
Steven Armstrong
614ff21f4a
/deinstalled/uninstalled/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-03 10:37:49 +01:00
Steven Armstrong
b9ff43c657
use $__global instead of ./out/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-03 10:37:11 +01:00
Nico Schottelius
8bb3a5b416
beautify output
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 09:47:02 +01:00
Nico Schottelius
442a175755
update explorer for __package_apt and install only if not already installed (same for deinstall)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 09:12:55 +01:00
Nico Schottelius
45d267158f
cleanup manifest/init
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-03 08:55:02 +01:00
Nico Schottelius
baea18be5f
Merge remote-tracking branch 'sans/master'
2011-03-03 08:51:22 +01:00
Steven Armstrong
dde0878ffc
/ensure/state/
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:44:58 +01:00
Steven Armstrong
c441f68c9c
more /etc/hosts magic to ease development
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:44:03 +01:00
Steven Armstrong
cda7664e13
removed obsolete explorer
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:40:54 +01:00
Steven Armstrong
0d88bccead
update to work with new tree layout and variables
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:39:37 +01:00
Steven Armstrong
fe5e0c7541
update to work with new variables
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:33:14 +01:00
Steven Armstrong
4c447b59ac
need value from file not file itself
...
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-03-03 08:28:24 +01:00
Nico Schottelius
ae4ff8b497
-debug + fix
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 23:58:44 +01:00
Nico Schottelius
643c618a9f
add archlinux test
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 23:34:34 +01:00
Nico Schottelius
34fa8260f5
finish __package_pacman
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 21:23:43 +01:00
Nico Schottelius
ddbcaf5152
add template for __package_pacman
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 21:15:03 +01:00
Nico Schottelius
3a10475151
only install/deinstall apt packages if necessary
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-02 19:21:15 +01:00