cdist-backup/cdist
Philippe Grégoire 69c6de9f9c
explorer/os: get ID from /etc/os-release
/etc/os-release was introduced by systemd[1] and is now
more and more common; even on systems without systemd (e.g. lede).
In addition to detecting the OS based on specific attributes,
this file provides the ID marker to describe the OS.

This commit adds support for OS detection via /etc/os-release.
According to [2], it is already lowercase.

[1] http://0pointer.de/blog/projects/os-release
[2] https://www.freedesktop.org/software/systemd/man/os-release.html
2017-08-19 16:41:50 -04:00
..
conf explorer/os: get ID from /etc/os-release 2017-08-19 16:41:50 -04:00
core Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
exec Add archiving support. 2017-08-09 16:56:02 +02:00
sphinxext
test Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
util Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
__init__.py Merge remote-tracking branch 'ungleich/master' into ssh-mux-sigpipe 2017-07-19 07:55:19 +02:00
argparse.py Fix for mistake in 982bb286f4. 2017-08-19 19:12:30 +02:00
autil.py Add archiving support. 2017-08-09 16:56:02 +02:00
banner.py
config.py Set default remote_cmds_cleanup_pattern 2017-08-14 16:13:57 -04:00
emulator.py Merge remote-tracking branch 'ungleich/master' into jobs-locking 2017-08-13 12:27:57 +02:00
flock.py Add file locking for -j parallel execution. 2017-08-13 12:26:20 +02:00
hostsource.py Merge custom cache path pattern from beta branch. 2017-07-01 23:59:51 +02:00
install.py
inventory.py pep8 2017-07-25 12:43:54 +02:00
log.py Define better warning facility. 2017-07-04 23:49:43 +02:00
message.py
mputil.py Further improve parallel execution. 2017-07-26 17:39:07 +02:00
shell.py Merge inventory from beta branch. 2017-07-20 22:04:44 +02:00