Commit graph

3833 commits

Author SHA1 Message Date
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
Nico Schottelius
0b4914a7f3 +comment wording
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:16:52 +02:00
Nico Schottelius
e771e91043 Merge branch '__ssh_authorized_keys' of https://github.com/asteven/cdist 2013-05-10 13:13:13 +02:00
Nico Schottelius
cb4d0ad1ab Merge branch '__cron' of https://github.com/asteven/cdist 2013-05-10 13:03:34 +02:00
Nico Schottelius
516244c7cb Merge branch '__cron' of https://github.com/asteven/cdist into ssh_callback 2013-05-10 13:02:53 +02:00
Nico Schottelius
a09ee9a814 +debug info
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-10 13:02:45 +02:00
Steven Armstrong
d4bad031e9 bugfix: the parameter is named 'state' not 'present'
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-05-10 12:41:56 +02:00
Steven Armstrong
d72afd3903 dont change parameters; dont use tmpfile; update copyright
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-05-10 12:35:22 +02:00
Nico Schottelius
119ea2f8fe add makefile for convenience
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-08 15:13:42 +02:00
Nico Schottelius
4ff34a7aa8 +ideas +callback.py
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-08 14:09:56 +02:00
Nico Schottelius
e49ccedeff callback ideas
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-04 01:31:44 +02:00
Nico Schottelius
a265d87037 begin dry run in command line
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-02 16:41:16 +02:00
Nico Schottelius
f95052e56f remove unused modules
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:18:03 +02:00
Nico Schottelius
4882c2cf19 --resolver in config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:16:38 +02:00
Nico Schottelius
956f400da6 re-arrange for future cleanup
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:15:22 +02:00
Nico Schottelius
2dac681f25 better error message
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:07:59 +02:00
Nico Schottelius
85d24ce259 fix execution order - seems to be fine now
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:07:27 +02:00
Nico Schottelius
8a7c64f86a cleanups + indent errors
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 11:04:01 +02:00
Nico Schottelius
a064cc19b3 try new object orientated (hrrr) code instead of stage based
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 10:58:23 +02:00
Nico Schottelius
d8630dc6d4 +reasons
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 17:55:03 +02:00
Nico Schottelius
d42e25fca3 add discussion
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-10 15:25:19 +02:00
Nico Schottelius
d975c8cc55 +year
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-09 15:12:11 +02:00
Nico Schottelius
3e2dda8132 changelog++
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-09 15:12:02 +02:00