cdist/cdist/conf
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
..
explorer explorer/os: get ID from /etc/os-release 2017-08-19 16:41:50 -04:00
manifest re-add sample, but longer name 2012-10-30 16:33:18 +01:00
type Fix gpasswd call in __user_groups: order incorrect 2017-08-03 15:11:35 +02:00
.gitignore make package_data work 2012-10-29 22:50:27 +01:00
README make package_data work 2012-10-29 22:50:27 +01:00

This is a sample configuration that can be used as an example
for /etc/cdist.

For instance:

   [root@kr etc]# ln -s ~nico/p/cdist/conf/ /etc/cdist