Commit graph

4089 commits

Author SHA1 Message Date
Steven Armstrong
c769d0b681 preserve ownership and permissions of existing file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-27 22:05:02 +02:00
Steven Armstrong
8a7639c191 preserve ownership and permissions of existing files
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-27 21:51:36 +02:00
Nico Schottelius
2b66889105 __line: support line/regexp containing /
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-26 16:26:01 +02:00
Steven Armstrong
97a8793fdd add __postfix* types
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-24 15:54:14 +02:00
Steven Armstrong
4bee421f97 rewrite type to work analog to __file and __link
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-18 13:26:03 +02:00
Nico Schottelius
58f19df386 ++changes(2.3.4)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-18 12:33:39 +02:00
Nico Schottelius
ee519b878d Merge remote-tracking branch 'steven/issue/200' 2013-09-18 12:31:39 +02:00
Nico Schottelius
9925fee528 Merge branch 'issue/199' of git://github.com/asteven/cdist 2013-09-18 11:23:47 +02:00
Steven Armstrong
067614db1f make explorers executable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-18 11:14:18 +02:00
Steven Armstrong
bba68b6e40 only delete links; delete existing destination before creating links
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-18 10:40:29 +02:00
Steven Armstrong
472198419a don't assume first argument to be -r, fixes #200
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-12 22:28:29 +02:00
Steven Armstrong
589d50bdba make --dry-run work, fixes #199
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-12 21:57:22 +02:00
Nico Schottelius
77d93b63fd add an old logfile
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-09 21:35:46 +02:00
Nico Schottelius
73f22c7af1 ensure version string is updated before pypi release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-09 11:46:29 +02:00
Nico Schottelius
a132adbb03 ++changes(2.3.3)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-09 11:39:26 +02:00
Steven Armstrong
127c512f84 call systemctl in subshell to prevent the explorer from failing if it exits non zero
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-08 22:10:25 +02:00
Nico Schottelius
48e2468c56 changes(2.3.3)++
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:45:27 +02:00
Nico Schottelius
d0dfe8f834 Merge branch 'feature/default_parameters' of https://github.com/asteven/cdist 2013-09-05 13:44:32 +02:00
Nico Schottelius
05716b2408 +hint
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:29:28 +02:00
Nico Schottelius
295a8a404d more cleanups for the release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:19:47 +02:00
Nico Schottelius
7acf0412db ++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:03:35 +02:00
Nico Schottelius
98cdc6c139 fix tests so that the explorers are not changed while running tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 13:02:39 +02:00
Nico Schottelius
e1fa588a4d clean should clean better
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-05 12:57:52 +02:00
Nico Schottelius
33559fad67 add comments to some tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 23:33:52 +02:00
Nico Schottelius
04ae94a2df +hint
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 23:14:02 +02:00
Nico Schottelius
5f2aff73dc show files that prevent release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 23:11:41 +02:00
Nico Schottelius
c074d377aa seperate check-% and release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:59:46 +02:00
Nico Schottelius
c68c11dce1 cleanup the release process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:58:52 +02:00
Nico Schottelius
74449ba45e --name-only
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:45:59 +02:00
Nico Schottelius
8af3374965 ++debug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:37:39 +02:00
Nico Schottelius
dc2b37cec1 release in Makefile is cumbersome, use shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 22:33:26 +02:00
Steven Armstrong
9358efd273 document new feature: configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-04 22:23:01 +02:00
Steven Armstrong
fc40a40ae0 implement configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-04 22:11:42 +02:00
Steven Armstrong
1927d4852a add tests for configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-09-04 22:11:08 +02:00
Nico Schottelius
7646375218 plan next release for ... today
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-04 21:20:05 +02:00
Nico Schottelius
a4151fee44 fix shell from previous context change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-03 21:32:26 +02:00
Nico Schottelius
5a2873efc8 remove customer types
Should not have been committed here - sorry for the noise.

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-03 09:11:12 +02:00
Nico Schottelius
e3f401900a add the type as well...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 19:58:11 +02:00
Nico Schottelius
f8d3e36efb new type: __iptables_apply
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 19:29:11 +02:00
Nico Schottelius
0f6b6f420c new type: __iptables_rule
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 19:22:53 +02:00
Nico Schottelius
81fae9325f cdist is written with a small c ... and the error message being made nicer
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:31:45 +02:00
Nico Schottelius
73338c330b record the type name, if there is no such type
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:30:22 +02:00
Nico Schottelius
6cd419b334 have __motd regenerate on Debian/Ubuntu
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:26:32 +02:00
Nico Schottelius
6af7eadc89 add --shell to __cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:21:19 +02:00
Nico Schottelius
34b5fbd892 ++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:51:11 +02:00
Nico Schottelius
4d8840dba0 also setup homedir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:50:42 +02:00
Nico Schottelius
93f5ace932 clenaup logging in emulator, cleanup emulator in main script
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:49:11 +02:00
Nico Schottelius
760b7e7afb ++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 02:55:22 +02:00
Nico Schottelius
25324a5e35 Merge branch 'cleanup/remove-install' of https://github.com/asteven/cdist
Also merged in base_path patch.

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

Conflicts:
	cdist/config_install.py
2013-08-30 01:35:11 +02:00
Nico Schottelius
7143fd2706 base, not out
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 01:32:30 +02:00