Commit graph

443 commits

Author SHA1 Message Date
Jake Guffey
723be34bca Fixed typo
Was assigning jaildir=$object/parameter/name, fixed to $object/parameter/jaildir
2014-01-27 13:22:03 -05:00
Nico Schottelius
d0ef6b6583 Merge branch 'issue/271' of git://github.com/asteven/cdist 2014-01-22 22:05:55 +01:00
Steven Armstrong
7a0b3cd7b7 python-software-properties still needed for older ubuntu versions
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-22 21:21:34 +01:00
Daniel Heule
b75481a4d4 parameter default handling in __key_value type corrected 2014-01-21 23:18:10 +01:00
Daniel Heule
360b42e892 parameter default handling in __zypper_repo type corrected 2014-01-21 22:57:06 +01:00
Daniel Heule
08b8270739 parameter default handling in __zypper_service type corrected 2014-01-21 22:45:35 +01:00
Daniel Heule
02c3fe4988 parameter default handling in __qemu_img type corrected 2014-01-21 22:33:10 +01:00
Daniel Heule
92e67182a6 parameter default handling in __cdist type corrected 2014-01-21 22:24:35 +01:00
Nico Schottelius
51c9662475 DO NOT USE ECHO WHEN SOMETHING MAY CONTAIN A B-A-C-K-S-L-A-S-H
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-21 16:41:34 +01:00
Daniel Heule
64f4cff3cb Shell selection support via ENV
CDIST_LOCAL_SHELL for local scripts
CDIST_REMOTE_SHELL for remote scripts
2014-01-20 20:30:37 +01:00
Nico Schottelius
b6bae508a8 use hostnamectl, if available, else use /etc/hostname and hostname
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 14:26:22 +01:00
Nico Schottelius
8d5357107b use uname -n in hostname explorer
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 14:07:31 +01:00
Steven Armstrong
aee97cffd6 install proper packages
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-20 14:01:29 +01:00
Nico Schottelius
cd6abf379a allow hostname -f to fail and return empty output
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 13:52:49 +01:00
Nico Schottelius
9123940255 port selection of first part into gencode-remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 13:51:48 +01:00
Nico Schottelius
29d4f910bc do not change parameters
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 13:50:42 +01:00
Nico Schottelius
5279b7239c import __hostname - Thanks, Steven!
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 13:47:45 +01:00
Nico Schottelius
ac0c88fe9f remove some old typos and omit type details that follow anyway
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-19 23:28:45 +01:00
Nico Schottelius
ce73cef457 explain that a requirement caused the error, otherwise you search until you die
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-19 23:22:48 +01:00
Nico Schottelius
b0ebc277d6 Merge branch 'issue/260' of git://github.com/asteven/cdist 2014-01-18 15:57:02 +01:00
Nico Schottelius
63af60a0d9 Merge branch 'issue/261' of git://github.com/asteven/cdist 2014-01-18 15:54:38 +01:00
Daniel Heule
4e94713f07 documented all messages which I have found via grep 2014-01-17 10:27:21 +01:00
Steven Armstrong
36a330eb3c redirect stderr to /dev/null
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-16 12:00:24 +01:00
Steven Armstrong
0b7d9babf6 whitespace--
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-16 11:11:00 +01:00
Steven Armstrong
3b072a7abb use __block type to manage keys
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-16 11:10:14 +01:00
Steven Armstrong
095c5335c6 use default parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-16 11:05:29 +01:00
Nico Schottelius
2c30704ba7 add hints about ignored parameters
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-15 13:28:41 +01:00
Nico Schottelius
f336bcb6fc Merge branch 'feature/__mount' of git://github.com/asteven/cdist 2014-01-15 13:24:31 +01:00
Steven Armstrong
a787d2b27b new type to manage a block of text in a file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-14 21:43:50 +01:00
Steven Armstrong
33c8f83fa6 new type to manage mounts, either via fstab or manually
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-14 21:39:24 +01:00
Daniel Heule
5a114cf6ae __cron should replace entrys with his id, try 2 2014-01-14 10:11:33 +01:00
Daniel Heule
6afc4b82c2 __cron should replace entrys with his id 2014-01-14 09:47:54 +01:00
Steven Armstrong
94aa0df747 add missing import
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-13 22:09:07 +01:00
Steven Armstrong
ef1394f4d1 filter out special/hidden files when iterating over explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-13 22:07:05 +01:00
Nico Schottelius
d8f39f3903 Merge branch 'bugfix__directory' of https://github.com/dheule/cdist 2014-01-10 11:25:56 +01:00
Nico Schottelius
c130bdf534 if hostname is an absolute path, strip alway leading slash
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 00:41:17 +01:00
Daniel Heule
613d66b7a7 corrected man page and gencode update for correct messages 2014-01-09 16:09:49 +01:00
Steven Armstrong
547c1f9c86 copy files instead of directories to give --remote-copy implementation a chance to dereference symlinks
also fixes #242 by filtering 'hidden' files (starting with a dot)

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-08 23:53:08 +01:00
Nico Schottelius
fccdcd768d Merge branch 'bugfix__directory' of https://github.com/dheule/cdist 2014-01-08 14:50:09 +01:00
Daniel Heule
afb06b729e mode and message handling now like __file type 2014-01-08 13:10:46 +01:00
Nico Schottelius
3f08565e59 Revert "install rubygems for ubuntu/debian"
On request by Steven.

This reverts commit d2c45717f1.
2014-01-08 11:09:01 +01:00
Daniel Heule
3e398b233b fix compare with leading 0 on directory mode 2014-01-08 09:48:04 +01:00
Nico Schottelius
f8c36c080e do not escape \ in --line
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-07 22:30:59 +01:00
Nico Schottelius
386a84eafc Merge branch 'bugfix__start_on_boot' of https://github.com/dheule/cdist 2014-01-07 17:47:15 +01:00
Daniel Heule
f5cee7a57d suses chkconfig has the same name, but works different 2014-01-07 17:31:45 +01:00
Steven Armstrong
d2c45717f1 install rubygems for ubuntu/debian
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-01-07 16:31:32 +01:00
Daniel Heule
dc8e9c6855 fix typo on optional parameter which is only a passthrough to
__package_zypper
2014-01-07 13:23:39 +01:00
Steven Armstrong
7ab5cd35ac missing parens -> matched what we did not want to match
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-21 22:49:06 +01:00
Steven Armstrong
49bdd83ea1 test for feature instead of type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-21 22:00:57 +01:00
Steven Armstrong
08762330e1 default to None, not empty list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-12-21 21:59:47 +01:00