Commit graph

458 commits

Author SHA1 Message Date
Nico Schottelius
d89cdbae0a Merge branch 'master' into preos 2014-01-21 16:05:03 +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
7988b3f8b9 Merge branch 'master' into preos 2014-01-20 14:28: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
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
4cfedb1787 +curl
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 09:42:53 +01:00
Nico Schottelius
b125c0a4f2 create output directory, if it does not exist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 09:21:50 +01:00
Nico Schottelius
55f26cbe25 - ' '
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 09:06:02 +01:00
Nico Schottelius
c3f79277b2 add some more packages for preos - fixes #267
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-20 08:50:41 +01:00
Nico Schottelius
f89a720cd2 Merge branch 'master' into preos 2014-01-20 08:48:44 +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
Nico Schottelius
ca868596e3 Merge branch 'issue/252' of git://github.com/asteven/cdist into preos 2014-01-14 08:43:30 +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
3daa74e81d fix 'stdin: is not a tty' problem (thanks, steven)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 22:48:47 +01:00
Nico Schottelius
e7ad8f9298 inet not init
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 22:45:38 +01:00
Nico Schottelius
11ba4640b4 disable unsupported iso - create /init - include support for another initial manifest
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 22:34:44 +01:00
Nico Schottelius
0d78ab313f create initramfs
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 21:14:04 +01:00
Nico Schottelius
c585e4876e create kernel, pxeconfig and pxelinux.0
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-11 21:05:14 +01:00
Nico Schottelius
995e33afc9 add command line handling for pxe generating
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 17:21:42 +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
4fb55b8d92 various updates for preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 10:46:09 +01:00
Nico Schottelius
ea286c600f Merge branch 'master' into preos 2014-01-10 00:42:28 +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
Nico Schottelius
b535e848ad run apt-get update after deboostrap
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 00:38:29 +01:00
Nico Schottelius
8af1add2a6 preos: seperate parameters, create remote_exec, remote_copy and manifest on the fly
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-01-10 00:04:46 +01:00
Daniel Heule
613d66b7a7 corrected man page and gencode update for correct messages 2014-01-09 16:09:49 +01:00
Nico Schottelius
8d167c4ab7 Merge branch 'issue/249' of git://github.com/asteven/cdist into preos 2014-01-09 09:29:38 +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
28ba493e71 Merge branch 'master' into preos 2014-01-08 16:19:56 +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