Commit graph

3805 commits

Author SHA1 Message Date
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
Nico Schottelius
9647d8f7e5 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-27 12:55:49 +02:00
Tyler Akins
1485381340 Fixing apt_ppa type - can't use double equals with dash 2013-05-26 15:54:28 -05:00
Nico Schottelius
22874bfa84 Merge branch 'master' into ssh_callback 2013-05-17 08:41:09 +02:00
Nico Schottelius
51c8687455 re-add object_prepare, use new run() method
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 10:08:23 +02:00
Nico Schottelius
ead8f7ff76 add some older logfiles (xournal and inkscape based)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:40:53 +02:00
Nico Schottelius
e0193fec56 add logo that is used on cdist flyers
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:28:41 +02:00
Nico Schottelius
ae8040536f mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:26:48 +02:00
Nico Schottelius
782d84870d ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:21:09 +02:00
Nico Schottelius
03bd44e135 Merge branch 'execution_order_plus_general_changes' 2013-05-15 09:19:52 +02:00
Nico Schottelius
a9ffa86b74 remove some old code, merge run into deploy_and_cleanup
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:19:36 +02:00
Nico Schottelius
72fef03184 Merge branch 'execution_order' into execution_order_plus_general_changes 2013-05-15 09:16:59 +02:00