Commit graph

897 commits

Author SHA1 Message Date
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
Nico Schottelius
acf3b3575a Merge pull request #456 from darko-poljak/pep8
Pep8
2016-07-06 17:18:01 +09: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
Jake Guffey
bcd5e9827b Fix man pages
Migrate (re-migrate) from text -> rst and update docs to reflect new developments
2016-06-05 22:16:42 -04:00
Jake Guffey
bcd4e5f29b Removed debugging from __jail_freebsd10/gencode-local 2016-06-05 21:57:56 -04:00
Jake Guffey
2f68e21a96 Add support for FreeBSD 10.x jails
Separate __jail type into distinct __jail_freebsd9 and __jail_freebsd10 types
2016-06-05 21:57:21 -04:00
Steven Armstrong
dbcdc8a8ba use pool.sks-keyservers.net instead of subkeys.pgp.net
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2016-05-25 14:40:55 +02:00
Darko Poljak
54834e277d Merge branch 'master' into new-docs-format 2016-05-25 07:39:53 +02:00
Darko Poljak
cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
Darko Poljak
fa5175fee5 Allow both hosts sources: command line args and file. 2016-05-22 09:45:08 +02:00
Darko Poljak
4fce4a631c Add -f option for reading hosts from file or stdin. 2016-05-22 09:22:39 +02:00
Darko Poljak
c4f782d194 Fix spelling error in __group man. 2016-05-13 22:44:54 +02:00
Darko Poljak
103e520d5a Fix suffix description for __block type. 2016-05-13 22:29:08 +02:00
Darko Poljak
8a079b3440 Fix spelling errors - Bogatov's patch. 2016-05-05 09:58:35 +02:00
Darko Poljak
cf451f0bea Merge with master. 2016-04-28 09:09:32 +02:00
Darko Poljak
e933e8cd75 Add missing name parameter. 2016-04-22 14:41:31 +02:00
Nico Schottelius
2a27eebbe4 Merge pull request #430 from darko-poljak/type_pyvenv
Type __pyvenv
2016-04-21 09:39:01 +02:00
Darko Poljak
360ab47be0 Fix '=' length. 2016-04-21 09:23:19 +02:00
Darko Poljak
b40034a54a Remove unnecessary global explorer. 2016-04-21 08:27:08 +02:00
Darko Poljak
b7da9d1ef5 Remove unnecessary global explorer. 2016-04-21 08:26:57 +02:00
Darko Poljak
5e0975a304 Remove unnecessary global explorer. 2016-04-21 08:26:47 +02:00
Darko Poljak
7aa197b731 Rm unnecessary details from __package_pip man. 2016-04-21 08:26:07 +02:00
Darko Poljak
66c2e16a24 __package_pip: always use su for runas parameter. 2016-04-21 08:24:47 +02:00
Darko Poljak
2ea85c773c Remove old style defaults. 2016-04-20 08:14:44 +02:00
Darko Poljak
e76d2af358 Remove old style defaults. 2016-04-20 08:13:47 +02:00
Darko Poljak
f24d264480 Updated usage comment. 2016-04-15 12:04:31 +02:00
Darko Poljak
5c33d22925 Prefer su over sudo. 2016-04-15 10:50:51 +02:00
Darko Poljak
cd78d4140a Add global explorers su, sudo and sucmd. 2016-04-15 08:37:33 +02:00
Darko Poljak
a1e86a481c Updated man. 2016-04-13 22:34:10 +02:00
Darko Poljak
d9b2f1a540 Add parameter --pyvenv. 2016-04-13 22:32:15 +02:00
Darko Poljak
4d5fa3087f Update comment info. 2016-04-13 20:14:06 +02:00
Darko Poljak
3296158a37 Remove virtualenv params not present in pyvenv. 2016-04-13 08:27:23 +02:00
Darko Poljak
85af0c1bb0 Remove virtualenv params not present in pyvenv. 2016-04-13 08:26:58 +02:00
Darko Poljak
49423e174b Use pyvenv instead of virtualenv. 2016-04-13 08:24:44 +02:00
smwltr
1882040a25 Adding suuport for OS Devuan 2016-04-12 12:18:47 +09:00
Darko Poljak
d313971e1a Create __pyvenv type and modify __package_pip accordingly. 2016-04-11 19:21:11 +02:00
Nico Schottelius
b12df5f125 Merge pull request #428 from dheule/bugfix_for_systemd
remove a copy paste artefact which is wrong there
2016-04-06 15:47:09 +02:00
Daniel Heule
ac171ba219 remove a copy paste artefact which is wrong there 2016-04-06 17:29:23 +02:00
Darko Poljak
e4cbb382ab PATH resolution for true/false. 2016-04-05 20:23:13 +02:00
Darko Poljak
3062421cf5 Fix bug with parallel hosts operation and specified output path. 2016-04-04 08:03:54 +02:00
Nico Schottelius
fa5950d329 Merge pull request #406 from jakllsch/netbsd-user
use passwd database instead of shadow database on NetBSD too
2016-04-01 22:42:40 +02:00
Darko Poljak
8191ea91e1 Fix remote exec bug and bug with save_cache and ssh mux socket file. 2016-04-01 20:42:32 +02:00
Darko Poljak
ee3e9a56f1 Remove commented old code. 2016-03-31 12:34:59 +02:00
Darko Poljak
f926c73e10 Merge branch 'master' into fix-bashisms 2016-03-31 08:28:46 +02:00
Darko Poljak
f55d00fe96 checkbashisms 2016-03-30 12:43:59 +02:00
Darko Poljak
1dfd6671e7 Fix #416: error for non-posix remote shell. Fix remote.py test errors. 2016-03-29 19:28:43 +02:00
Nico Schottelius
4233a0913a Merge pull request #419 from dheule/bugfix__zypper_service
bugfix for newer zypper (SLES12SP1) releases
2016-03-29 16:01:22 +02:00
Nico Schottelius
83d8851ba6 Merge pull request #421 from dheule/bugfix_for_systemd
fix for __start_on_boot for ALL systemd distros
2016-03-29 11:35:11 +02:00
Nico Schottelius
933f4919a8 Merge pull request #417 from darko-poljak/orig-master-issue-#415
Resolved issue #415 (Error in exec/local.py run method when OSError is thrown)
2016-03-26 15:04:42 +01:00
Daniel Heule
f7de217129 modified the unknown case to empty... 2016-03-25 16:39:48 +01:00
Daniel Heule
9c6d7dbd89 modified the unknown case ... 2016-03-24 11:29:13 +01:00
Daniel Heule
2c49e04c98 Updated the exlorer for more systems
changed the ps syntax, so it should work on freebsd to
  added a case so it could easy implemented for other os to
2016-03-24 11:22:09 +01:00
Daniel Heule
d3a0bd20c0 replace egrep with awk functions 2016-03-24 10:58:14 +01:00