Commit graph

165 commits

Author SHA1 Message Date
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
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
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
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
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