cdist configuration management Latest manual: https://www.cdi.st/manual/latest/ Home page: https://www.cdi.st
Find a file
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.
2017-08-20 12:10:54 -04:00
bin Improve pep8 targets and checking in release. 2016-07-24 22:24:15 +02:00
cdist __user: explore with /etc files 2017-08-20 12:10:54 -04:00
completions Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00
docs Update changelog 2017-08-17 12:28:46 +02:00
hacking begin to import bin/libs 2015-05-20 14:04:34 +02:00
other Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
scripts Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00
.gitignore Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00
Makefile Add pep8 target. 2016-07-23 16:00:07 +02:00
MANIFEST.in
PKGBUILD.in
README
setup.py Revert "cant depend on build-helper to have cdist.version module" 2017-02-16 23:38:24 +01:00

cdist
-----

cdist is a usable configuration management system.

For the web documentation have a look at docs/web/.