Philippe Grégoire
31e5c97c55
use command(1) to get executable's path
7 years ago
Philippe Grégoire
997fdd8ac4
fix typo in group entry extraction
7 years ago
Philippe Grégoire
a915baa73b
__user: explore with /etc files
...
getent(1) is a utility available where Name Service Switch (NSS)
is available. Many modern operating systems support it, but that
may not be the case of all (e.g. embedded systems).
This commit modifies the __user type explorers to check the
traditional files instead of relying solely on the availability
of getent(1).
- Makes the group explorer use /etc/group
- Makes the passwd explorer use /etc/passwd
- Makes the shadow explorer use /etc/shadow
Implementation note
"getent shadow" does not support querying an entry using a uid
since it does not store that information. Since the shadow explorer
uses __object_id, the passwd explorer does not check if __object_id
matches an entry by uid. This behavior ensures consistent, transparent
behavior of the type. The group explorer, on the other hand, handles
group names and uids; like always.
7 years ago
Darko Poljak
ceb97fd0ee
Fix for mistake in 982bb286f4
.
7 years ago
Darko Poljak
8a23227ec9
Update changelog
7 years ago
Darko Poljak
982bb286f4
Cleanup options' help and cdist man page.
7 years ago
Darko Poljak
eb01c5bb85
Merge pull request #554 from uqam-fob/fix-remote-cmds
...
Fix remote cmds cleanup
7 years ago
Philippe Gregoire
61b52ac806
Set default remote_cmds_cleanup_pattern
...
Fixes an exception when --remote-copy and --remote-exec are used.
7 years ago
Philippe Gregoire
7b0b3d9415
Fix remote cmds cleanup
...
When --remote-copy and --remote-exec are provided,
args.remote_cmds_cleanup_pattern is not set.
This patches fixes the evaluation of args.remote_cmds_cleanup_pattern
and prevents cdist from throwing an exception when --remote-copy
and --remote-exec are used.
7 years ago
Darko Poljak
7aa7a8db6d
Update changelog: add file locking for -j parallel execution
7 years ago
Darko Poljak
f96829f657
Merge pull request #553 from darko-poljak/jobs-locking
...
Add file locking for -j parallel execution
7 years ago
Darko Poljak
b6467e716e
Merge remote-tracking branch 'ungleich/master' into jobs-locking
7 years ago
Darko Poljak
75fe3272b3
Add file locking for -j parallel execution.
7 years ago
Darko Poljak
87fe52ea61
Default logging level is WARNING.
7 years ago
Darko Poljak
7361353497
Merge pull request #552 from darko-poljak/emulator-logging
...
Respect cdist log level in emulator.
7 years ago
Darko Poljak
314a931b84
Respect cdist log level in emulator.
7 years ago
Darko Poljak
1fa37566cb
Document config/install -R option.
7 years ago
Darko Poljak
59782ad64e
Fix unit test.
7 years ago
Darko Poljak
d5d7f0dd37
Update changelog: Fix ssh connection multiplexing race condition
7 years ago
Darko Poljak
2b0e8160cf
Merge pull request #543 from darko-poljak/ssh-mux-sigpipe
...
Fix ssh connection multiplexing race condition #542
7 years ago
Darko Poljak
be86a89f30
Update changelog
7 years ago
Darko Poljak
d17f11f80d
Merge pull request #550 from ungleich/archiving
...
Add archiving support
7 years ago
Darko Poljak
8bb70055f4
Merge branch 'master' into archiving
7 years ago
Darko Poljak
ca1cc0f64a
object_id = '/' is invalid
7 years ago
Darko Poljak
68cb13881f
Add archiving support.
7 years ago
Nico Schottelius
260303dd14
Fix gpasswd call in __user_groups: order incorrect
...
From the manpage:
-a, --add user
Add the user to the named group.
-d, --delete user
Remove the user from the named group.
8 years ago
Darko Poljak
1b0f560608
Add missing args to method call.
8 years ago
Darko Poljak
0a85d913cc
Optimize dir transfer.
8 years ago
Darko Poljak
0d734c872d
Fix log var assignment.
8 years ago
Darko Poljak
3db987b913
Merge pull request #549 from 4nd3r/__timezone
...
__timezone: always exit 0
8 years ago
Ander Punnar
b7b1101f11
always exit 0
8 years ago
Darko Poljak
23fbabe303
Further improve parallel execution.
8 years ago
Darko Poljak
d1a044cc23
multiprocessing.Pool -> concurrent.futures.ProcessPoolExecutor
8 years ago
Darko Poljak
7c7a98d083
pep8
8 years ago
Darko Poljak
d30b1a2f54
Update changelog
8 years ago
Darko Poljak
32838a096d
Refine inventory logging to adhere new cdist logging.
8 years ago
Nico Schottelius
55f4528d1e
Merge pull request #547 from darko-poljak/p-host_max
...
Add -p HOST_MAX argument.
8 years ago
Darko Poljak
0af64c01bf
Add -p HOST_MAX argument.
8 years ago
Darko Poljak
bb2cc68169
Fix broken text
8 years ago
Darko Poljak
4a54d1420e
Remove unwanted fixme
8 years ago
Darko Poljak
9b5220a29c
Merge pull request #546 from greendeath/master
...
Updated to docker-compose version 1.14
8 years ago
Dominique Roux
5ccfec9c18
Updated to docker-compose version 1.14
8 years ago
Darko Poljak
060ddc2a17
Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe
8 years ago
Darko Poljak
493150650c
Update changelog
8 years ago
Darko Poljak
6b9ec1d3ce
Merge pull request #545 from 4nd3r/__timezone
...
__timezone: check current timezone before doing anything
8 years ago
Ander Punnar
6bfe02094d
year is 2017
8 years ago
Ander Punnar
2c56622eeb
check file first
8 years ago
Ander Punnar
c706b9eefb
check current timezone before doing anything
8 years ago
Darko Poljak
e2a1519332
Merge inventory from beta branch.
8 years ago
Darko Poljak
2b6177c9f7
Fix rst.
8 years ago