Commit Graph

43 Commits

Author SHA1 Message Date
Steven Armstrong 7ae1a2bc52 allow __file to read source file from stdin
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-06-04 14:17:42 +02:00
Steven Armstrong e3f767f5a1 += example
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-04-04 09:37:18 +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
Matt Coddington 37c02dad45 bugfix - do chmod last 2012-02-02 11:09:20 -05:00
Nico Schottelius 3818548d9a find conf/type -type f -exec sed -i 's/ *$//' {} \;
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 16:30:52 +01:00
Nico Schottelius 1092103500 fix --ensure vs. --state bug [DOC]
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:41:15 +01:00
Nico Schottelius 228eb600bf simplify default value code a lot
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:40:05 +01:00
Nico Schottelius 8320327956 rephrase if..elif..else to case..esac
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-01-09 15:37:16 +01:00
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 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 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
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 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 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
Nico Schottelius 4a44b3bdf5 __file: -destination
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-15 21:19:49 +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 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 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 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 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 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
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 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 1ed0b6d474 export __cdist_local_base_dir in cdist-deploy-to for others
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-26 10:42:06 +01:00
Nico Schottelius 918bb8bb5a in theory, finish __file/gencode (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 18:33:12 +01:00
Nico Schottelius 45429c2ca0 Allow ids to contain slashes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 02:13:11 +01:00
Nico Schottelius 1a718e7c23 adjust gencode of type __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:20:34 +01:00
Nico Schottelius e4377f7532 remove debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:58:38 +01:00
Nico Schottelius 66610155ae add some debug to md5sum explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:55:06 +01:00
Nico Schottelius 72f62a8734 cleanup and fix some missing } in cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:14:26 +01:00
Nico Schottelius b683b8ca70 more plural -> singular cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:36:11 +01:00
Nico Schottelius 238b5119eb begin to migrate from plural to singular, CONSISTENTLY
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:32:01 +01:00