Commit graph

4626 commits

Author SHA1 Message Date
Daniel Heule
b5a0c52684 aus versehen eine .direcotry datei vom dolphin eingecheckt, nun wieder
gelöscht ...
2013-12-04 10:15:24 +01:00
Daniel Heule
19219fe1f9 An allen orten correcte gpl headers eingesetzt ... 2013-12-04 09:44:45 +01:00
Daniel Heule
b29a52db1a Initial add vom type __zypper_repo 2013-12-04 09:37:01 +01:00
Nico Schottelius
68b7392021 add support for messaging to __file, document messaging in reference
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-03 15:41:43 +01:00
Nico Schottelius
684ad56a80 Merge branch 'master' into notifications
Took the __file parts from master.

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/conf/type/__file/gencode-local
	cdist/conf/type/__file/gencode-remote
2013-12-03 14:38:11 +01:00
Nico Schottelius
90896a9e06 update environment with messages environment
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-03 14:36:38 +01:00
Nico Schottelius
a95167b374 remove quotes from mkdiropt
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-02 15:49:02 +01:00
Nico Schottelius
9d86f8c9b7 2.3.7 release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-02 15:16:31 +01:00
Nico Schottelius
1b36ed88f0 ++changes(2.3.7)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-02 13:29:17 +01:00
Daniel Heule
d074713b94 Fix explorer and globalopts issue in type __package_zypper
Fixes #215.

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-02 13:27:42 +01:00
Nico Schottelius
a6e2cf853e mkdiropt needs to be unquoted => empty if not existing
Otherwise this happens:

    root@lilly ~ # cat
    /var/lib/cdist/object/__directory/vm/.cdist/code-remote
    rm -f "/vm"
    mkdir "" "/vm"

which results into

    mkdir: cannot create directory `': No such file or directory

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 22:33:13 +01:00
Nico Schottelius
e58a467327 Merge branch 'master' into preos 2013-12-01 18:42:49 +01:00
Nico Schottelius
538a5b4964 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 18:42:43 +01:00
Nico Schottelius
7cf0d60b08 catch permissionserror when deleting old cache
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 18:42:07 +01:00
Nico Schottelius
48923d23d8 if ... THEN ;-)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-12-01 18:37:08 +01:00
Nico Schottelius
695973bb34 Merge branch 'master' into preos 2013-11-30 12:50:23 +01:00
Nico Schottelius
8998ea9298 ++changes(2.3.7)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-29 16:02:17 +01:00
Nico Schottelius
adab987994 minor updates for preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-29 16:02:00 +01:00
Nico Schottelius
65cab0d0e8 add "preos" subcommand to generate preos
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-28 14:18:24 +01:00
Nico Schottelius
321b39ee89 use new docs/ (from 2012 or so)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-28 14:11:23 +01:00
Nico Schottelius
bc9d40df37 ignore lock files
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-28 14:10:15 +01:00
Nico Schottelius
3b47a036e3 Merge branch 'preos' 2013-11-28 13:51:28 +01:00
Nico Schottelius
61dc7291dc ++changes(2.3.7)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-27 16:28:06 +01:00
Nico Schottelius
f47d2c22bc Merge remote-tracking branch 'steven/issue/202'
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/conf/type/__link/explorer/type
2013-11-27 16:24:20 +01:00
Nico Schottelius
dfe4274467 Merge remote-tracking branch 'steven/issue/201'
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/conf/type/__directory/explorer/stat
	cdist/conf/type/__directory/explorer/type
2013-11-27 16:23:16 +01:00
Nico Schottelius
08dbf2e96c Merge remote-tracking branch 'steven/issue/198' 2013-11-27 16:22:14 +01:00
Steven Armstrong
abf291cb20 add gpl header
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:09:02 +01:00
Steven Armstrong
71b41df733 no late delete
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:09:02 +01:00
Steven Armstrong
6d5686229f only delete links; delete existing destination before creating links
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:09:02 +01:00
Steven Armstrong
f5a39e5281 add gpl header
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Steven Armstrong
7b065e931f rewrite type to work analog to __file and __link
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Steven Armstrong
d7984df503 make explorers executable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:08:50 +01:00
Steven Armstrong
6c3b1e3ca0 add gpl header
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-27 16:05:10 +01:00
Nico Schottelius
de4db39f88 Merge remote-tracking branch 'steven/issue/201' 2013-11-27 15:15:03 +01:00
Nico Schottelius
965526a930 Merge remote-tracking branch 'steven/issue/202' 2013-11-27 15:14:10 +01:00
Nico Schottelius
dc27a15ec0 ++changes(2.3.7)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-27 15:10:06 +01:00
Steven Armstrong
fcfd2d0a3c refactor so that there is no interaction between code-local and code-remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-26 16:31:18 +01:00
Steven Armstrong
a3dea70a97 Revert "first generate and execute *-local, then *-remote"
This reverts commit cf22499538266b1b4fac1694254edfd8ba9be68d.
2013-11-26 16:31:18 +01:00
Steven Armstrong
f82c4dc669 no late delete
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-26 16:31:17 +01:00
Steven Armstrong
5918de368d fix quoting, remove redundant code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-26 16:31:17 +01:00
Steven Armstrong
12ef3ca4d2 first generate and execute *-local, then *-remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-26 16:31:17 +01:00
Steven Armstrong
db29ea8e70 intial take on fixing the file type
- upload file in a safer way
- remove destination if it is not a file
- only set attributes if required

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-11-26 16:31:17 +01:00
Nico Schottelius
2f842d56eb integrate messaging into gencode, manifest
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:17:37 +01:00
Nico Schottelius
edec2abb1d adopt first type: __file for messaging
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:01:44 +01:00
Nico Schottelius
ac5fa7cd64 integrate messaging into cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 01:01:30 +01:00
Nico Schottelius
22a83d2c93 add new message object
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 00:27:08 +01:00
Nico Schottelius
ca1c5ff713 add another log for notifications
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-26 00:25:00 +01:00
Nico Schottelius
d1a569fecd remove bug comments -> no bug here
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-25 23:18:19 +01:00
Nico Schottelius
d00947711d Merge branch 'master' into notifications 2013-11-25 22:54:36 +01:00
Nico Schottelius
4302b7592d prepare next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-11-25 19:09:20 +01:00