Commit Graph

33 Commits

Author SHA1 Message Date
Dennis Camera 46d09392f0 [type/__key_value] Get AWK from POSIX PATH
This is required here, because Solaris /usr/bin/awk does not support the
sub() function.
So xpg4 AWK needs to be used.
2020-07-26 19:36:34 +02:00
Darko Poljak c58e12a4b9 shellcheck on /files/ scripts. 2018-10-10 12:43:39 +02:00
Jonas Weber bcd7fbbcc4 Fix SC2155 (directly export computed variables) 2018-10-04 22:23:48 +02:00
Jonas Weber 6326eae1bb Fix SC2166 on all manfest/gencode/explorers 2018-10-01 22:13:24 +02:00
kamila f9443532a1 __key_value: --onchange parameter added (#648) 2018-03-11 18:01:38 +01:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
Darko Poljak df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
Darko Poljak 0d82c37928 Fix spelling errors (Dmitry Bogatov). 2016-07-18 19:43:26 +02:00
Darko Poljak f98208f250 Make man pages SEE ALSO by convention. Improve docs building. 2016-06-30 12:09:07 +02:00
Darko Poljak 51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Darko Poljak cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
Darko Poljak 8a079b3440 Fix spelling errors - Bogatov's patch. 2016-05-05 09:58:35 +02:00
Darko Poljak f55d00fe96 checkbashisms 2016-03-30 12:43:59 +02:00
Daniel Heule 50316902e3 renamed ll to lastline, hope its now clear what the var is for .. 2014-03-26 13:58:29 +01:00
Daniel Heule bae472eb33 fixed some typos in the man page 2014-03-26 10:41:00 +01:00
Daniel Heule b7fb973fa5 bugfix for whitespace stripping, its no more simple 2014-03-21 09:35:47 +01:00
Daniel Heule 619076bd2d corrected a small relict in example 2014-03-12 20:16:33 +01:00
Daniel Heule a94de8fae4 Merge branch 'master' of https://github.com/telmich/cdist into bugfix_type__key_value
Conflicts:
	cdist/conf/type/__key_value/gencode-remote
2014-03-12 20:07:27 +01:00
Daniel Heule 38c3d551ba bugfix, if file was absent and type is now tested on openwrt 2014-03-11 21:05:31 +01:00
Nico Schottelius 0a98abbffa add messaging support for __key_value
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-03-11 15:39:08 +01:00
Daniel Heule fa55cd7d3b ups, typo ... thx to steven 2014-02-27 21:08:45 +01:00
Daniel Heule 727c918f67 work around a bug in bash3, now tested with dash, bash, busybox 2014-02-27 17:04:23 +01:00
Daniel Heule 0198b99eb5 corrected some debug codesnips 2014-02-27 15:47:19 +01:00
Daniel Heule 8d80e52de9 implemented some suggestions from steven 2014-02-27 14:45:19 +01:00
Daniel Heule 225752bd42 updated the man page .... 2014-02-25 11:35:14 +01:00
Daniel Heule 820ed5ae0c added option comment_line to prefix key value with a comment line 2014-02-24 23:27:42 +01:00
Daniel Heule 205e256ef6 rewrite of __key_value, now support nerarly every value 2014-02-24 21:42:45 +01:00
Daniel Heule b75481a4d4 parameter default handling in __key_value type corrected 2014-01-21 23:18:10 +01:00
Steven Armstrong d068dfd621 escape and thereby preserve quotes in values
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-10 11:02:10 +01:00
Steven Armstrong 8aacbe2885 Bourne is not bash
see http://shebang.brandonmintern.com/bourne-is-not-bash-or-read-echo-and-backslash/

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-08-19 22:25:17 +02:00
Nico Schottelius 0eda57986f remove parameter changing code in __key_value (fixes #114,#36)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 18:28:58 +01:00
Nico Schottelius 63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00