/usr/include/facter/facts/os.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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | /**
* @file
* Declares the operating system constants.
*/
#pragma once
#include "../export.h"
namespace facter { namespace facts {
/**
* Stores the constant operating system names.
*/
struct LIBFACTER_EXPORT os
{
/**
* The RedHat operating system.
*/
constexpr static char const* redhat = "RedHat";
/**
* The Centos operating system.
*/
constexpr static char const* centos = "CentOS";
/**
* The Fedora operating system.
*/
constexpr static char const* fedora = "Fedora";
/**
* The Scientific Linux operating system.
*/
constexpr static char const* scientific = "Scientific";
/**
* The Scientific Linux CERN operating system.
*/
constexpr static char const* scientific_cern = "SLC";
/**
* The Ascendos Linux operating system.
*/
constexpr static char const* ascendos = "Ascendos";
/**
* The Cloud Linux operating system.
*/
constexpr static char const* cloud_linux = "CloudLinux";
/**
* The Parallels Server Bare Metal operating system.
*/
constexpr static char const* psbm = "PSBM";
/**
* The Oracle Linux operating system.
*/
constexpr static char const* oracle_linux = "OracleLinux";
/**
* The Oracle VM Linux operating system.
*/
constexpr static char const* oracle_vm_linux = "OVS";
/**
* The Oracle Enterprise Linux operating system.
*/
constexpr static char const* oracle_enterprise_linux = "OEL";
/**
* The Amazon Linux operating system.
*/
constexpr static char const* amazon = "Amazon";
/**
* The Xen Server Linux operating system.
*/
constexpr static char const* xen_server = "XenServer";
/**
* The Mint Linux operating system.
*/
constexpr static char const* linux_mint = "LinuxMint";
/**
* The Ubuntu Linux operating system.
*/
constexpr static char const* ubuntu = "Ubuntu";
/**
* The Debian Linux operating system.
*/
constexpr static char const* debian = "Debian";
/**
* The Devuan Linux operating system.
*/
constexpr static char const* devuan = "Devuan";
/**
* The SuSE Linux Enterprise Server operating system.
*/
constexpr static char const* suse_enterprise_server = "SLES";
/**
* The SuSE Linux Enterprise Desktop operating system.
*/
constexpr static char const* suse_enterprise_desktop = "SLED";
/**
* The Open SuSE operating system.
*/
constexpr static char const* open_suse = "OpenSuSE";
/**
* The SuSE operating system.
*/
constexpr static char const* suse = "SuSE";
/**
* The Solaris operating system.
*/
constexpr static char const* solaris = "Solaris";
/**
* The SunOS operating system.
*/
constexpr static char const* sunos = "SunOS";
/**
* The Nexenta operating system.
*/
constexpr static char const* nexenta = "Nexenta";
/**
* The Omni operating system.
*/
constexpr static char const* omni = "OmniOS";
/**
* The Open Indiana operating system.
*/
constexpr static char const* open_indiana = "OpenIndiana";
/**
* The SmartOS operating system.
*/
constexpr static char const* smart = "SmartOS";
/**
* The Gentoo Linux operating system.
*/
constexpr static char const* gentoo = "Gentoo";
/**
* The Archlinux operating system.
*/
constexpr static char const* archlinux = "Archlinux";
/**
* The Manjaro Linux operating system.
*/
constexpr static char const* manjarolinux = "ManjaroLinux";
/**
* The Mandrake Linux operating system.
*/
constexpr static char const* mandrake = "Mandrake";
/**
* The Mandriva Linux operating system.
*/
constexpr static char const* mandriva = "Mandriva";
/**
* The Mageia Linux operating system.
*/
constexpr static char const* mageia = "Mageia";
/**
* The Open WRT operating system.
*/
constexpr static char const* openwrt = "OpenWrt";
/**
* The Meego operating system.
*/
constexpr static char const* meego = "MeeGo";
/**
* The VMWare ESX operating system.
*/
constexpr static char const* vmware_esx = "VMWareESX";
/**
* The Slackware Linux operating system.
*/
constexpr static char const* slackware = "Slackware";
/**
* The Alpine Linux operating system.
*/
constexpr static char const* alpine = "Alpine";
/**
* The CoreOS Linux operating system.
*/
constexpr static char const* coreos = "CoreOS";
/**
* The Cumulus Linux operating system.
*/
constexpr static char const* cumulus = "CumulusLinux";
/**
* The Zen Cloud Platform linux operating system.
*/
constexpr static char const* zen_cloud_platform = "XCP";
/**
* The GNU/kFreeBSD operating system.
*/
constexpr static char const* kfreebsd = "GNU/kFreeBSD";
/**
* The Windows operating system.
*/
constexpr static char const* windows = "windows";
/**
* The AristaEOS operating system.
*/
constexpr static char const* arista_eos = "AristaEOS";
/**
* The HuaweiOS operating system.
*/
constexpr static char const* huawei = "HuaweiOS";
/**
* The PhotonOS operating system.
*/
constexpr static char const* photon_os = "PhotonOS";
};
}}
|