Sha256: 03694e96bfff0ce30f7f9df9a8cef50d6e78e706c9ad3fc5625b3123a6b5d932

Contents?: true

Size: 1.58 KB

Versions: 16

Compression:

Stored size: 1.58 KB

Contents

/**
 * @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

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.12.1.cfacter.20181031 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.6.cfacter.20181031 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.12.1.cfacter.20181023 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.5.cfacter.20181022 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.12.0.cfacter.20181004 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.12.0.cfacter.20181001 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.12.0.cfacter.20180918 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.4.cfacter.20180821 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.3.cfacter.20180716 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.2.cfacter.20180612 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.9.6.cfacter.20180612 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.2.cfacter.20180606 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.9.6.cfacter.20180606 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
facter-3.11.0.cfacter.20180319 ext/facter/facter/lib/inc/facter/facts/os_family.hpp
cfacter-3.11.0.rc.20180314 ext/facter/facter/lib/inc/facter/facts/os_family.hpp