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
13a5d4963b
Merge remote-tracking branch 'ungleich/master' into cdist-type__hosts
2016-07-26 12:25:45 +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
88ec06d06f
new type: __hosts
...
This type adds or removes entries from /etc/hosts,
ensuring that same hostname can never resolve to
several different ip addresses.
Signed-off-by: Dmitry Bogatov <KAction@gnu.org>
2016-07-22 09:52:03 +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
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
Daniel Heule
14f3ee403a
fix fo __start_on_boot for ALL systemd distros
2016-03-23 16:34:57 +01:00
Pierre
b749a4b88a
consul changes
2016-03-23 15:47:31 +01:00
Daniel Heule
0179904675
bugfix for newer zypper (SLES12SP1) releases, different column numbers in output
2016-03-22 11:01:19 +01:00
Darko Poljak
5e5106479f
Fix old bug: join wrong arg for OSError.
2016-03-18 18:22:14 +01:00
Darko Poljak
6ae94df0a1
Reset manually to original.
...
Limited connectivity, but have extra time, so doing it online. Will be fixed in a separate branch.
2016-03-18 12:29:16 +01:00