Commit graph

1038 commits

Author SHA1 Message Date
428c06c8d3 Hotfix: Changed sources of all consul version + cksum files 2016-08-23 16:40:13 +02:00
cd8373fe50 Hotfix: Changed source of consul 0.5.1 2016-08-23 15:55:07 +02:00
Darko Poljak
2d72c08e9b Fix spelling. 2016-08-22 09:24:48 +02:00
Darko Poljak
b5a79fbc8f Fix spelling (Dmitry Bogatov patch). 2016-08-22 08:11:49 +02:00
Nico Schottelius
b08ea652a3 Merge pull request #475 from darko-poljak/target_host_cache
Add target_host file with original host to cache since cache dir is hash
2016-08-21 22:14:34 +02:00
Darko Poljak
b5262c850e Exit cleanly in case of non UTF-8 file. 2016-08-21 21:48:21 +02:00
Darko Poljak
b83e6993c1 Make comment better. 2016-08-21 17:10:24 +02:00
Darko Poljak
7f1e41f769 Move hostfile line processing to new method. 2016-08-19 21:56:24 +02:00
Darko Poljak
7aa4b2d40a Support comments in hostfile, skip empty lines. 2016-08-19 13:37:57 +02:00
Darko Poljak
dd1b95f596 Add target_host file with original host to cache since cache dir is hash. 2016-08-19 12:27:35 +02:00
Darko Poljak
f40e6659f7 Make man pages for new types to be by convention. Fix spellings. 2016-08-18 10:41:58 +02:00
Darko Poljak
680806ce76 Fix getting host_name and host_fqdn. 2016-08-17 20:46:56 +02:00
Darko Poljak
2fb551131e Fix error when non-existing host is used. 2016-08-17 20:27:51 +02:00
Darko Poljak
7cc7c18e77 Add hint for command line flag for enable-beta. 2016-08-15 16:37:11 +02:00
Darko Poljak
fdf6a6570c Check for beta in scripts/cdist. 2016-08-15 16:01:39 +02:00
Darko Poljak
1c07b63f1d Add -b/--enable-beta option for enabling beta functionalities. 2016-08-15 14:20:35 +02:00
Darko Poljak
f858191976 Merge remote-tracking branch 'ungleich/master' into parallel-global-explorers-execution 2016-08-14 22:27:39 +02:00
Darko Poljak
15d6524efd Fix cdist shell. 2016-08-14 22:09:51 +02:00
Darko Poljak
d96be90f26 Fix self.target_host 2016-08-14 22:09:36 +02:00
Darko Poljak
f4c02a9bca Merge remote-tracking branch 'ungleich/master' into new-target-env-vars 2016-08-14 21:51:03 +02:00
Darko Poljak
1274b87df9 Merge remote-tracking branch 'ungleich/master' into new-target-env-vars 2016-08-14 21:50:19 +02:00
Darko Poljak
38b94d019b Merge remote-tracking branch 'ungleich/master' into new-keyboard-type 2016-08-14 21:44:52 +02:00
Darko Poljak
51ffc0f037 log.info -> log.debug for debug messages 2016-08-14 21:30:09 +02:00
Darko Poljak
c95e75ac15 Merge pull request #474 from darko-poljak/gplv3plus_licensing
GPLv3+ re-licensing.
2016-08-13 10:30:23 +02:00
Darko Poljak
33b6545a16 GPLv3+ relicensing. 2016-08-12 21:58:44 +02:00
Darko Poljak
5f436f21b8 Transfer and run global explorers in parallel. 2016-08-12 21:14:56 +02:00
Darko Poljak
a4c49201c0 Add jobs option for parallel execution, global explorers first. 2016-08-11 23:54:31 +02:00
Darko Poljak
8d6e0760dc Fix errors in remote.py unit test. 2016-08-11 21:55:20 +02:00
Darko Poljak
45298b810c Add more comments. 2016-08-11 00:04:37 +02:00
Darko Poljak
dbcc94ab65 Add derived env vars for target hostname and fqdn. 2016-08-10 23:56:56 +02:00
Darko Poljak
d82bd52b04 Fix no newline at the end of file. 2016-08-10 18:37:40 +02:00
Darko Poljak
b400ae9c94 Separate __keyboard type. 2016-08-10 18:34:49 +02:00
Darko Poljak
8918186d53 Merge remote-tracking branch 'ungleich/master' into keyboard-locale_system-types 2016-08-10 18:29:57 +02:00
Darko Poljak
df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
ffc3451c67 GPLv3+ relicensing: Ricardo Catalinas 2016-08-10 17:40:04 +02:00
Steven Armstrong
e48486636e Merge pull request #467 from dheule/feature__filesystem
new type __filesystem, first version

Awesome! Thanks!
2016-08-02 16:14:09 +02:00
Daniel Heule
8747474fd5 device now defaults to object_id 2016-08-02 11:06:17 +02:00
Daniel Heule
13b2443d6b last cleanups 2016-08-02 10:07:27 +02:00
Nico Schottelius
6479ffc499 Really fix the GPLv3+ text 2016-08-02 09:25:11 +02:00
Nico Schottelius
a1ff755576 Add type __sysctl
- Migrated asciidoc to rst
- Changed license to GPLv3+
2016-08-02 09:22:21 +02:00
Nico Schottelius
94119003a9 Reference __locale_system in __locale type 2016-08-02 01:02:47 +02:00
Nico Schottelius
06d0eabb5f Add new type: __locale_system
Merge the best of the proposals from Steven and Carlos
2016-08-02 00:58:07 +02:00
Daniel Heule
36c20230b8 optimize the usage of explorers for __filesystem 2016-07-29 15:27:13 +02:00
Daniel Heule
2ed762cd72 new type __filesystem, first version 2016-07-28 14:48:32 +02:00
Darko Poljak
cef47133bc Merge remote-tracking branch 'ungleich/master' into keyboard-locale_system-types 2016-07-26 12:22:37 +02:00
Darko Poljak
1959e9cdd8 Fix error message. 2016-07-23 16:29:51 +02:00
Darko Poljak
6f28fc2db2 Fix ssh mux socket file error.
ssh ControlPath socket file needs to be unique for each host.
To avoid using ssh ControlPath option placeholders move socket file
to host's temp directory. Since each host has unique temp
directory then, although file name for socket file is fixed, its path
is unique.
2016-07-23 16:13:59 +02:00
Darko Poljak
dacb5720c5 Create hash func for string args to be used cdist wide. 2016-07-23 15:11:14 +02:00
Darko Poljak
4c106752f1 Add new types, __keyboard and __locale_system, contributed by Carlos Ortigoza. 2016-07-22 08:12:18 +02:00
Darko Poljak
cab0381c2a Update license to GPLv3+ for my types and cdist man pages. 2016-07-20 07:55:48 +02:00
Darko Poljak
0d82c37928 Fix spelling errors (Dmitry Bogatov). 2016-07-18 19:43:26 +02:00
Darko Poljak
87d6a9c336 Fix line begining with . is a macro for man page. 2016-07-18 19:43:05 +02:00
Darko Poljak
2eab9b9598 Rm stderr debug output, stderr is not captured. 2016-07-15 08:22:05 +02:00
Darko Poljak
7c55364cc2 Fix absent state for verbose in ccollect_source type. 2016-07-15 08:20:07 +02:00
Darko Poljak
1501590f88 Fix missing stderr in case of script error in python >= 3.5. 2016-07-13 12:21:41 +02:00
Darko Poljak
e2bb629535 Fix shell command not working after new error reporting. 2016-07-12 20:15:08 +02:00
Darko Poljak
54e845da6f pep8 2016-07-11 12:40:50 +02:00
Darko Poljak
0051240c7c log.info target_host -> hash 2016-07-11 08:50:39 +02:00
Darko Poljak
120b11e96b Fix log init error. 2016-07-10 21:43:09 +02:00
Darko Poljak
3b91ace4ea Additionaly improve hostdir fix. 2016-07-10 21:28:30 +02:00
Darko Poljak
92278ef5b0 Merge pull request #460 from asteven/fix-hostdir
Fix hostdir
2016-07-10 21:20:31 +02:00
Nico Schottelius
9b2800b614 Merge pull request #453 from darko-poljak/improve-docs-build
Improve docs build
2016-07-07 21:49:38 +09:00
Steven Armstrong
a3d15caaa1 Merge remote-tracking branch 'ungleich/master' into fix-hostdir 2016-07-07 14:41:09 +02:00
Steven Armstrong
13d315d718 do not assume target_host is anything that can be used as a directory name
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-07-07 14:38:36 +02:00
Stu Zhao
a6643f0d7f Explore machine type for virtualbox guest 2016-07-06 18:39:27 -04:00
Markus Koller
16cb3a5ff1
Update PXE setup for Debian 8 2016-07-06 14:57:59 +02:00
Markus Koller
e79610f23c
Don't try to use hostnamectl when systemd isn't running 2016-07-06 11:22:15 +02:00
Markus Koller
0e114c37ac
Always use current stable release for preos 2016-07-06 10:47:28 +02:00
Markus Koller
78d7d91e42
Install lsb-release in preos
Several types use the lsb_release command to determine the distribution,
if this command is missing unexpected things will happen.
2016-07-06 10:30:13 +02:00
Nico Schottelius
acf3b3575a Merge pull request #456 from darko-poljak/pep8
Pep8
2016-07-06 17:18:01 +09:00
Markus Koller
348867ff6a
Correctly set hostname in preos 2016-07-06 10:15:34 +02:00
Darko Poljak
22abe43e85 Make better msg for exec/util unsupported stderr output. 2016-07-06 08:25:31 +02:00
Darko Poljak
64efa04599 pep8 2016-07-05 20:44:24 +02:00
Darko Poljak
92d96c14b9 Undo reqs conflict detection, continue appending new reqs. 2016-07-04 10:11:11 +02:00
Darko Poljak
72345f5516 Make union of existing and new requirements instead of conflict error. 2016-06-30 20:37:08 +02:00
Darko Poljak
0dfb4aee73 sphinx> ':manpage:' -> ':strong:' 2016-06-30 15:13:33 +02:00
Darko Poljak
f98208f250 Make man pages SEE ALSO by convention. Improve docs building. 2016-06-30 12:09:07 +02:00
Nico Schottelius
55cd9963db Merge pull request #447 from sleemburg/master
Add openvz/lxc discovery
2016-06-30 10:51:18 +09:00
Darko Poljak
51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak
f6ea90c3a5 Update remote.py according to new exec_util api. 2016-06-24 11:18:24 +02:00
Darko Poljak
b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Darko Poljak
d48b65ed53 Fix process error handling in local. 2016-06-23 10:56:37 +02:00
Steven Armstrong
ce26deb706 add support for new check types
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:58:14 +02:00
Steven Armstrong
6944998a19 add new --wait parameter for consul-template
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:57:25 +02:00
Steven Armstrong
75b32328b6 use latest consul-template version by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:56:57 +02:00
Steven Armstrong
96b49f4e99 consul-template is no longer distributed as a tar. it is now a zip archive
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:56:27 +02:00
Steven Armstrong
1ed0d6bbe3 source for old consul-template versions have changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:55:20 +02:00
Steven Armstrong
4a7823d9b5 new consul-template version
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-06-22 23:54:58 +02:00
Stephan Leemburg
9300eda3c6 Add scientific 2016-06-22 13:32:51 +02:00
Stephan Leemburg
98160624a0 Add openvz/lxc discovery 2016-06-22 13:21:10 +02:00
Darko Poljak
a12b74b2f5 Resolve conflict. 2016-06-22 12:56:53 +02:00
Darko Poljak
e66bedb43f Update changelog. 2016-06-22 12:50:35 +02:00
Darko Poljak
cfe422a5ab Merge branch 'master' into feature_files_export 2016-06-22 12:26:10 +02:00
Darko Poljak
9a154725b5 Merge branch 'master' into fix-dependency-conflict 2016-06-22 12:22:43 +02:00
Darko Poljak
194f5af7b2 Merge branch 'master' into better-remote-err-reporting 2016-06-22 12:14:47 +02:00
Darko Poljak
d7583e7a1a Add __files to shell env. 2016-06-12 17:55:29 +02:00
Darko Poljak
0049b62cca Add files conf subdirectory for static files. 2016-06-11 12:02:13 +02:00
Darko Poljak
e3636e6ffc Merge branch 'master' into feature_files_export 2016-06-10 21:04:43 +02:00
Darko Poljak
bd9008794c Conflicting requirements bugfix. 2016-06-10 07:50:07 +02:00
Darko Poljak
fd8e10e12a Improve error reporting for local and remote run. 2016-06-06 22:11:55 +02:00