/usr/include/facter/facts/os_family.hpp is in facter-dev 3.10.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | /**
* @file
* Declares the operating system family constants.
*/
#pragma once
#include "../export.h"
namespace facter { namespace facts {
/**
* Stores the constant operating system family names.
*/
struct LIBFACTER_EXPORT os_family
{
/**
* The RedHat family of operating systems.
*/
constexpr static char const* redhat = "RedHat";
/**
* The CoreOS family of operating systems.
*/
constexpr static char const* coreos = "CoreOS";
/**
* The Debian family of operating systems.
*/
constexpr static char const* debian = "Debian";
/**
* The SuSE family of operating systems.
*/
constexpr static char const* suse = "Suse";
/**
* The Solaris family of operating systems.
*/
constexpr static char const* solaris = "Solaris";
/**
* The SunOS family of operating systems.
*/
constexpr static char const* sunos = "SunOS";
/**
* The Gentoo family of operating systems.
*/
constexpr static char const* gentoo = "Gentoo";
/**
* The Archlinux family of operating systems.
*/
constexpr static char const* archlinux = "Archlinux";
/**
* The Mandrake family of operating systems.
*/
constexpr static char const* mandrake = "Mandrake";
/**
* The Windows family of operating systems.
*/
constexpr static char const* windows = "windows";
};
}} // namespace facter::facts
|