Commit graph

3916 commits

Author SHA1 Message Date
Nico Schottelius
347ff8900e split directory creating code off of init
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:35:19 +02:00
Nico Schottelius
b1d661f4c0 merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:30:20 +02:00
Nico Schottelius
b2686f3b13 factor out iterate code to be able to test it for one, two, ... runs
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:24:47 +02:00
Nico Schottelius
c5c5e7b89b remove requirement-finder tests - no need to test assignments and no wildcard support anymore
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:17:30 +02:00
Nico Schottelius
e569e0546a adjust build helper to jump into the right directory
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 09:24:05 +02:00
Nico Schottelius
5fb66cd314 move build-helper into bin/
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 09:22:17 +02:00
Nico Schottelius
9b92822b4b record change for __cron in changelog
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 09:20:27 +02:00
Nico Schottelius
4ae241259f remove the old entries on change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 09:20:14 +02:00
Nico Schottelius
d78dc7af8b Merge branch '__cron-simplify' 2013-06-19 21:50:49 +02:00
Nico Schottelius
e7527802a5 more hints for __debconf_set_selections
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:53:07 +02:00
Nico Schottelius
af1f7a9241 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:52:12 +02:00
Nico Schottelius
622cd398c6 use quiet mode by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:51:23 +02:00
Nico Schottelius
84f2ca0d1f add new type: __update_alternatives
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:49:43 +02:00
Nico Schottelius
137856002f Merge branch 'master' into __cron-simplify 2013-06-19 11:31:33 +02:00
Nico Schottelius
4ecffa7d59 fix typo in __process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 11:31:21 +02:00
Nico Schottelius
fb40ba4d0f Merge branch 'master' into __cron-simplify 2013-06-19 11:20:25 +02:00
Nico Schottelius
a1b946abc4 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 11:20:18 +02:00
Nico Schottelius
135499f120 __process: make --state optional
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 11:19:45 +02:00
Nico Schottelius
1c94c615b1 __cron: remove parameter changing code, remove multiline code, remove early execution of included $() code, simplify __cron
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 10:55:07 +02:00
Nico Schottelius
bc4af64a75 even more changes - time for a release soon
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-18 14:48:36 +02:00
Nico Schottelius
1788b343d1 Merge branch '__postgres_role-changes' of https://github.com/nuex/cdist 2013-06-18 13:40:18 +02:00
Nico Schottelius
8d3639db50 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-18 13:27:33 +02:00
nuex
90f7ec40fe __postgres_database: make state parameter optional 2013-06-17 13:49:36 -04:00
nuex
48b6344645 __postgres_role: check if state parameter exists before reading it 2013-06-17 11:16:26 -04:00
nuex
dc39099730 __postgres_role: make state parameter optional, fix password parameter checking in gencode-remote 2013-06-17 11:05:23 -04:00
Nico Schottelius
1846175135 ++git changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-16 12:47:58 +02:00
nuex
211363d5be __git: quote variables in gencode-remote, add optional parameters in manpage 2013-06-16 01:40:11 -04:00
Nico Schottelius
b06a77ff8d fixed early in the morning/evening name typo
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-10 09:07:28 +02:00
Nico Schottelius
bac593822d ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-10 08:16:57 +02:00
nuex
483cc06211 start a shell under sudo to support things like filename globbing 2013-06-10 01:27:34 -04:00
Nico Schottelius
2acce10497 change __start_on_boot to use systemd on archlinux
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-09 23:45:22 +02:00
Nico Schottelius
d5817a54c8 Merge branch 'fix-build-helper' of https://github.com/nuex/cdist 2013-06-08 13:28:40 +02:00
nuex
6985c1faba fix auto-generating the version file 2013-06-07 21:37:03 -04:00
nuex
59bc29fbe3 add example of using non-root user with sudo 2013-06-07 21:10:34 -04:00
Nico Schottelius
0cf0cdd0c3 keep version generating in build-helper, so people cloning from git don't need make
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-07 21:14:51 +02:00
Nico Schottelius
9195c9b8e8 Remove ugly argumentparser bug
Before:

[21:09] bento:~% cdist
Traceback (most recent call last):
  File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 232, in <module>
    commandline()
  File "/home/users/nico/p/cdist/cdist/bin/../scripts/cdist", line 106, in commandline
    args.func(args)
AttributeError: 'Namespace' object has no attribute 'func'

After:

[21:11] bento:~% cdist
usage: cdist [-h] [-d] [-v] [-V] {banner,config} ...

cdist 2.1.1-48-gfd72c60

optional arguments:
  -h, --help       show this help message and exit
  -d, --debug      Set log level to debug
  -v, --verbose    Set log level to info, be more verbose
  -V, --version    Show version

Commands:
  {banner,config}

Get cdist at http://www.nico.schottelius.org/software/cdist/
[21:11] bento:~%

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-07 21:10:57 +02:00
Nico Schottelius
96e58af1da more stuff in the makefile
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 22:29:49 +02:00
Nico Schottelius
4dfa653823 callback not yet ready for master
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 22:29:30 +02:00
Nico Schottelius
fd72c607c1 reorder manpage
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 18:16:50 +02:00
Nico Schottelius
6945d8ebc9 build -> build-helper
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 18:13:56 +02:00
Nico Schottelius
53fe3844cb (xtaran && lintian)++
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 18:11:19 +02:00
Nico Schottelius
c789d9a5bf use build-cdist for the moment, begin to export targets
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 17:34:03 +02:00
Nico Schottelius
11ecd73bf0 rename build -> build-cdist, as setup.py uses build/
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 16:52:58 +02:00
Nico Schottelius
68d4bcbcb4 begin to fix syntax errors of merge
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 15:05:43 +02:00
Nico Schottelius
e3f6769507 Merge branch 'ssh_callback' 2013-06-03 14:56:03 +02:00
Nico Schottelius
e55d328c9e ++ideen
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 14:55:54 +02:00
Nico Schottelius
614a5cfe55 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 14:51:06 +02:00
Nico Schottelius
260b6f6ae1 clean-dist -> distclean && make xtaran happy
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 14:49:10 +02:00
Nico Schottelius
3c58eee003 +semi finished decentralised/centralised picture
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-28 10:57:55 +02:00
Nico Schottelius
3d73cd2fd3 better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-27 16:36:20 +02:00